From 3b7efc56d0057de9bf58662fe96e4e492845b200 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Thu, 8 Aug 2002 12:05:51 +0000 Subject: Use the hw.usb sysctl tree instead of debug.usb. Requested by: imp --- sys/dev/usb/ucom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb/ucom.c') diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index e654a023dacb..49bb643bfa9b 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) \ -- cgit v1.3