summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci.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/ehci.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/ehci.c')
-rw-r--r--sys/dev/usb/controller/ehci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c
index d665b89..69507b0 100644
--- a/sys/dev/usb/controller/ehci.c
+++ b/sys/dev/usb/controller/ehci.c
@@ -99,6 +99,9 @@ SYSCTL_INT(_hw_usb_ehci, OID_AUTO, debug, CTLFLAG_RW,
SYSCTL_INT(_hw_usb_ehci, OID_AUTO, no_hs, CTLFLAG_RW,
&ehcinohighspeed, 0, "Disable High Speed USB");
+TUNABLE_INT("hw.usb.ehci.debug", &ehcidebug);
+TUNABLE_INT("hw.usb.ehci.no_hs", &ehcinohighspeed);
+
static void ehci_dump_regs(ehci_softc_t *sc);
static void ehci_dump_sqh(ehci_softc_t *sc, ehci_qh_t *sqh);
OpenPOWER on IntegriCloud