summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
commit528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6 (patch)
treefafe553431d8770eb184a810f65960276fbbcccb /sys/dev/usb/usb.c
parent6ada40b0096875267625ec96a56a591ff1f041de (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index e455cee085a2..9a3605566ad0 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -103,10 +103,10 @@ SYSCTL_NODE(_debug, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging");
int usbdebug = 0;
SYSCTL_INT(_debug_usb, OID_AUTO, usb, CTLFLAG_RW,
&usbdebug, 0, "usb debug level");
-#ifdef UHCI_DEBUG
+#ifdef USB_DEBUG
extern int uhcidebug;
#endif
-#ifdef OHCI_DEBUG
+#ifdef USB_DEBUG
extern int ohcidebug;
#endif
/*
@@ -576,12 +576,8 @@ usbioctl(dev_t devt, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
#ifdef USB_DEBUG
case USB_SETDEBUG:
usbdebug = ((*(int *)data) & 0x000000ff);
-#ifdef UHCI_DEBUG
uhcidebug = ((*(int *)data) & 0x0000ff00) >> 8;
-#endif
-#ifdef OHCI_DEBUG
ohcidebug = ((*(int *)data) & 0x00ff0000) >> 16;
-#endif
break;
#endif /* USB_DEBUG */
case USB_REQUEST: