diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-12-19 23:39:08 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-12-19 23:39:08 +0000 |
commit | 1093b7f71e14e0216ee201d448fd9df1fdf0b716 (patch) | |
tree | f1d85c35bc7eb34c87ffdcdb9460d23b24858fa5 /sys/dev/usb/controller | |
parent | e9811a787f29bb1e1d5844807122c389e87711d1 (diff) | |
download | FreeBSD-src-1093b7f71e14e0216ee201d448fd9df1fdf0b716.zip FreeBSD-src-1093b7f71e14e0216ee201d448fd9df1fdf0b716.tar.gz |
Make the recently added "no_shutdown_wait" sysctl writeable.
Suggested by: avg @
MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/controller')
-rw-r--r-- | sys/dev/usb/controller/usb_controller.c | 2 |
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 89920c9..61ff2fc 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -91,7 +91,7 @@ SYSCTL_INT(_hw_usb, OID_AUTO, no_boot_wait, CTLFLAG_RDTUN, &usb_no_boot_wait, 0, static int usb_no_shutdown_wait = 0; TUNABLE_INT("hw.usb.no_shutdown_wait", &usb_no_shutdown_wait); -SYSCTL_INT(_hw_usb, OID_AUTO, no_shutdown_wait, CTLFLAG_RDTUN, &usb_no_shutdown_wait, 0, +SYSCTL_INT(_hw_usb, OID_AUTO, no_shutdown_wait, CTLFLAG_RW|CTLFLAG_TUN, &usb_no_shutdown_wait, 0, "No USB device waiting at system shutdown."); static devclass_t usb_devclass; |