diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:21:22 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:21:22 +0000 |
commit | 76c322aad5bf9b07d9f924b436d7d6753be34426 (patch) | |
tree | a9534a7551ff9a80078d47dd35ea2a99a024f139 /sys/dev/usb/controller/uhci.c | |
parent | 5cc1375c31a20e69a7c4df470b5e141a00b53620 (diff) | |
download | FreeBSD-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/uhci.c')
-rw-r--r-- | sys/dev/usb/controller/uhci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c index 4e2659c..918855b 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -91,6 +91,10 @@ SYSCTL_INT(_hw_usb_uhci, OID_AUTO, debug, CTLFLAG_RW, &uhcidebug, 0, "uhci debug level"); SYSCTL_INT(_hw_usb_uhci, OID_AUTO, loop, CTLFLAG_RW, &uhcinoloop, 0, "uhci noloop"); + +TUNABLE_INT("hw.usb.uhci.debug", &uhcidebug); +TUNABLE_INT("hw.usb.uhci.loop", &uhcinoloop); + static void uhci_dumpregs(uhci_softc_t *sc); static void uhci_dump_tds(uhci_td_t *td); |