summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ucom.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-08-08 12:05:51 +0000
committerjoe <joe@FreeBSD.org>2002-08-08 12:05:51 +0000
commit2925e337b88ce6094d3823ef79a07f76a8a42618 (patch)
tree5a0d49895b1dedf1fc6c6d00a4b10be49823d6a4 /sys/dev/usb/ucom.c
parent12355fce849b88ec85106092c90e813493705508 (diff)
downloadFreeBSD-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/ucom.c')
-rw-r--r--sys/dev/usb/ucom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index e654a02..49bb643 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -102,7 +102,8 @@
#ifdef USB_DEBUG
static int ucomdebug = 0;
-SYSCTL_INT(_debug_usb, OID_AUTO, ucom, CTLFLAG_RW,
+SYSCTL_NODE(_hw_usb, OID_AUTO, ucom, CTLFLAG_RW, 0, "USB ucom");
+SYSCTL_INT(_hw_usb_ucom, OID_AUTO, debug, CTLFLAG_RW,
&ucomdebug, 0, "ucom debug level");
#define DPRINTF(x) do { \
if (ucomdebug) \
OpenPOWER on IntegriCloud