diff options
author | Yojiro Uo <yuo@cvs.openbsd.org> | 2008-06-02 09:58:16 +0000 |
---|---|---|
committer | Yojiro Uo <yuo@cvs.openbsd.org> | 2008-06-02 09:58:16 +0000 |
commit | 8f74bbe8c35edfffbf6ca4b798247e325c410542 (patch) | |
tree | e8040b2391ebc869a24959de22531c839d8d9633 /sys | |
parent | 1a400e339782a4d5517f12fd6f60f2943b546250 (diff) |
fix DEBUG flag. without EHCI_DEBUG, ehcidebug is not defined.
ok jsg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/ehci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index 63e2b44a8a7..f861e8d14bf 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci.c,v 1.80 2008/05/25 21:00:17 mbalmer Exp $ */ +/* $OpenBSD: ehci.c,v 1.81 2008/06/02 09:58:15 yuo Exp $ */ /* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */ /* @@ -1150,7 +1150,7 @@ ehci_device_clear_toggle(usbd_pipe_handle pipe) DPRINTF(("ehci_device_clear_toggle: epipe=%p status=0x%x\n", epipe, epipe->sqh->qh.qh_qtd.qtd_status)); -#ifdef USB_DEBUG +#ifdef EHCI_DEBUG if (ehcidebug) usbd_dump_pipe(pipe); #endif @@ -2609,7 +2609,7 @@ ehci_timeout(void *addr) ehci_softc_t *sc = (ehci_softc_t *)epipe->pipe.device->bus; DPRINTF(("ehci_timeout: exfer=%p\n", exfer)); -#ifdef USB_DEBUG +#ifdef ECHI_DEBUG if (ehcidebug > 1) usbd_dump_pipe(exfer->xfer.pipe); #endif |