summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_debug.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
committerthompsa <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
commit76c322aad5bf9b07d9f924b436d7d6753be34426 (patch)
treea9534a7551ff9a80078d47dd35ea2a99a024f139 /sys/dev/usb/usb_debug.c
parent5cc1375c31a20e69a7c4df470b5e141a00b53620 (diff)
downloadFreeBSD-src-76c322aad5bf9b07d9f924b436d7d6753be34426.zip
FreeBSD-src-76c322aad5bf9b07d9f924b436d7d6753be34426.tar.gz
Provide tunables for some of the usb sysctls that affect boot behaviour.
Submitted by: Andriy Gapon
Diffstat (limited to 'sys/dev/usb/usb_debug.c')
-rw-r--r--sys/dev/usb/usb_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_debug.c b/sys/dev/usb/usb_debug.c
index 7f1e4e9..64c3a08 100644
--- a/sys/dev/usb/usb_debug.c
+++ b/sys/dev/usb/usb_debug.c
@@ -67,6 +67,8 @@ SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging");
SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW,
&usb_debug, 0, "Debug level");
+TUNABLE_INT("hw.usb.debug", &usb_debug);
+
/*------------------------------------------------------------------------*
* usb_dump_iface
*
OpenPOWER on IntegriCloud