aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/usb_controller.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-10-26 06:04:47 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-10-26 06:04:47 +0000
commit83cadd7dccaa5c7f80a82a8557e1178cd1dc045d (patch)
tree76e56cbcb96afa105fdc7e27f713e4c764f56796 /sys/dev/usb/controller/usb_controller.c
parent83e73d691129268dacaa21ebe9200d9d1ab46175 (diff)
downloadsrc-83cadd7dccaa5c7f80a82a8557e1178cd1dc045d.tar.gz
src-83cadd7dccaa5c7f80a82a8557e1178cd1dc045d.zip
Add missing CTLFLAG_TUN flag to tunable sysctls in USB stack.
Rearrange the tunables and belonging sysctl declarations, so that they are next to eachother. Submitted by: n_hibma @ MFC after: 1 week
Notes
Notes: svn path=/head/; revision=242126
Diffstat (limited to 'sys/dev/usb/controller/usb_controller.c')
-rw-r--r--sys/dev/usb/controller/usb_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c
index 7444686fc808..5f28640b1024 100644
--- a/sys/dev/usb/controller/usb_controller.c
+++ b/sys/dev/usb/controller/usb_controller.c
@@ -86,7 +86,7 @@ SYSCTL_INT(_hw_usb_ctrl, OID_AUTO, debug, CTLFLAG_RW, &usb_ctrl_debug, 0,
static int usb_no_boot_wait = 0;
TUNABLE_INT("hw.usb.no_boot_wait", &usb_no_boot_wait);
-SYSCTL_INT(_hw_usb, OID_AUTO, no_boot_wait, CTLFLAG_RDTUN, &usb_no_boot_wait, 0,
+SYSCTL_INT(_hw_usb, OID_AUTO, no_boot_wait, CTLFLAG_RD|CTLFLAG_TUN, &usb_no_boot_wait, 0,
"No USB device enumerate waiting at boot.");
static int usb_no_suspend_wait = 0;