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/ohci.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/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 13126df..501fd80 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -94,7 +94,8 @@ struct cfdriver ohci_cd = { #define DPRINTF(x) if (ohcidebug) logprintf x #define DPRINTFN(n,x) if (ohcidebug>(n)) logprintf x int ohcidebug = 0; -SYSCTL_INT(_debug_usb, OID_AUTO, ohci, CTLFLAG_RW, +SYSCTL_NODE(_hw_usb, OID_AUTO, ohci, CTLFLAG_RW, 0, "USB ohci"); +SYSCTL_INT(_hw_usb_ohci, OID_AUTO, debug, CTLFLAG_RW, &ohcidebug, 0, "ohci debug level"); #ifndef __NetBSD__ #define bitmask_snprintf(q,f,b,l) snprintf((b), (l), "%b", (q), (f)) |