diff options
Diffstat (limited to 'sys/dev/usb/usb.c')
| -rw-r--r-- | sys/dev/usb/usb.c | 8 |
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: |
