summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-12-19 23:39:08 +0000
committerhselasky <hselasky@FreeBSD.org>2011-12-19 23:39:08 +0000
commit1093b7f71e14e0216ee201d448fd9df1fdf0b716 (patch)
treef1d85c35bc7eb34c87ffdcdb9460d23b24858fa5
parente9811a787f29bb1e1d5844807122c389e87711d1 (diff)
downloadFreeBSD-src-1093b7f71e14e0216ee201d448fd9df1fdf0b716.zip
FreeBSD-src-1093b7f71e14e0216ee201d448fd9df1fdf0b716.tar.gz
Make the recently added "no_shutdown_wait" sysctl writeable.
Suggested by: avg @ MFC after: 3 days
-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 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;
OpenPOWER on IntegriCloud