aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_hub.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-01-05 15:04:17 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-01-05 15:04:17 +0000
commitece4b0bd43bfb226fac07e61c933bb3d3d2c2c36 (patch)
treec1152c2b0c9d6cf7f22690226efd82915c361ef0 /sys/dev/usb/usb_hub.c
parent31099b506d62d7cc49c57c2c36e5eba7411ec513 (diff)
Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can
be set before the USB device(s) are probed.
Notes
Notes: svn path=/head/; revision=276701
Diffstat (limited to 'sys/dev/usb/usb_hub.c')
-rw-r--r--sys/dev/usb/usb_hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index 208c2237bb48..0a07df1f9dab 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -93,7 +93,7 @@ SYSCTL_INT(_hw_usb_uhub, OID_AUTO, debug, CTLFLAG_RWTUN, &uhub_debug, 0,
#if USB_HAVE_POWERD
static int usb_power_timeout = 30; /* seconds */
-SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RW,
+SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RWTUN,
&usb_power_timeout, 0, "USB power timeout");
#endif