summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci.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/controller/ohci.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/controller/ohci.c')
-rw-r--r--sys/dev/usb/controller/ohci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ohci.c b/sys/dev/usb/controller/ohci.c
index 637b639..fa7f23a 100644
--- a/sys/dev/usb/controller/ohci.c
+++ b/sys/dev/usb/controller/ohci.c
@@ -84,6 +84,9 @@ static int ohcidebug = 0;
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");
+
+TUNABLE_INT("hw.usb.ohci.debug", &ohcidebug);
+
static void ohci_dumpregs(ohci_softc_t *);
static void ohci_dump_tds(ohci_td_t *);
static uint8_t ohci_dump_td(ohci_td_t *);
OpenPOWER on IntegriCloud