diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2007-02-24 22:16:15 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2007-02-24 22:16:15 +0000 |
commit | 927e7acd301e5d8d9836e39ba782f84551cadbab (patch) | |
tree | 1045434824c0800ff060860ad6fbfaf9dbec7ae6 /sys/arch | |
parent | f2a02df09a8ff52561fb29709898f32e7bdd770f (diff) |
move debug print into debug block.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm/xscale/pxa27x_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa27x_udc.c b/sys/arch/arm/xscale/pxa27x_udc.c index dcb3f266c99..3e70dc7ac97 100644 --- a/sys/arch/arm/xscale/pxa27x_udc.c +++ b/sys/arch/arm/xscale/pxa27x_udc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa27x_udc.c,v 1.17 2007/02/24 22:08:20 drahn Exp $ */ +/* $OpenBSD: pxa27x_udc.c,v 1.18 2007/02/24 22:16:14 drahn Exp $ */ /* * Copyright (c) 2007 Dale Rahn <drahn@openbsd.org> @@ -756,10 +756,10 @@ pxaudc_write(struct pxaudc_softc *sc, usbf_xfer_handle xfer) } #ifdef DEBUG_TX printf(" wrote tlen %x %x\n", tlen, xfer->actlen); -#endif if (xfer->actlen == 0) { printf("whoa, write_ep called, but no free space\n"); } +#endif if (xfer->actlen >= xfer->length) { if ((xfer->actlen % maxp) != 0) { CSR_SET_4(sc, USBDC_UDCCSR(ep), USBDC_UDCCSR_SP); |