diff options
author | joe <joe@FreeBSD.org> | 2002-08-08 12:05:51 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-08-08 12:05:51 +0000 |
commit | 2925e337b88ce6094d3823ef79a07f76a8a42618 (patch) | |
tree | 5a0d49895b1dedf1fc6c6d00a4b10be49823d6a4 /sys/dev/usb/usb.c | |
parent | 12355fce849b88ec85106092c90e813493705508 (diff) | |
download | FreeBSD-src-2925e337b88ce6094d3823ef79a07f76a8a42618.zip FreeBSD-src-2925e337b88ce6094d3823ef79a07f76a8a42618.tar.gz |
Use the hw.usb sysctl tree instead of debug.usb.
Requested by: imp
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 9a36055..73dde62 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -95,13 +95,13 @@ MALLOC_DEFINE(M_USBHC, "USBHC", "USB host controller"); /* Define this unconditionally in case a kernel module is loaded that * has been compiled with debugging options. */ -SYSCTL_NODE(_debug, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); +SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); #ifdef USB_DEBUG #define DPRINTF(x) if (usbdebug) logprintf x #define DPRINTFN(n,x) if (usbdebug>(n)) logprintf x int usbdebug = 0; -SYSCTL_INT(_debug_usb, OID_AUTO, usb, CTLFLAG_RW, +SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, &usbdebug, 0, "usb debug level"); #ifdef USB_DEBUG extern int uhcidebug; |