aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_generic.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
commitc13fd8d42b5a42b8648441127e71fed45b1b47c3 (patch)
treea9534a7551ff9a80078d47dd35ea2a99a024f139 /sys/dev/usb/usb_generic.c
parent2e1d4df4191fa8fd15001a7158c473c8fc865b77 (diff)
downloadsrc-c13fd8d42b5a42b8648441127e71fed45b1b47c3.tar.gz
src-c13fd8d42b5a42b8648441127e71fed45b1b47c3.zip
Provide tunables for some of the usb sysctls that affect boot behaviour.
Submitted by: Andriy Gapon
Notes
Notes: svn path=/head/; revision=199675
Diffstat (limited to 'sys/dev/usb/usb_generic.c')
-rw-r--r--sys/dev/usb/usb_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_generic.c b/sys/dev/usb/usb_generic.c
index 5990cd5ff943..9fc0cc7eef2d 100644
--- a/sys/dev/usb/usb_generic.c
+++ b/sys/dev/usb/usb_generic.c
@@ -130,6 +130,8 @@ static int ugen_debug = 0;
SYSCTL_NODE(_hw_usb, OID_AUTO, ugen, CTLFLAG_RW, 0, "USB generic");
SYSCTL_INT(_hw_usb_ugen, OID_AUTO, debug, CTLFLAG_RW, &ugen_debug,
0, "Debug level");
+
+TUNABLE_INT("hw.usb.ugen.debug", &ugen_debug);
#endif