svn commit: r228723 - head/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Dec 19 23:39:09 UTC 2011
Author: hselasky
Date: Mon Dec 19 23:39:08 2011
New Revision: 228723
URL: http://svn.freebsd.org/changeset/base/228723
Log:
Make the recently added "no_shutdown_wait" sysctl writeable.
Suggested by: avg @
MFC after: 3 days
Modified:
head/sys/dev/usb/controller/usb_controller.c
Modified: head/sys/dev/usb/controller/usb_controller.c
==============================================================================
--- head/sys/dev/usb/controller/usb_controller.c Mon Dec 19 20:44:44 2011 (r228722)
+++ head/sys/dev/usb/controller/usb_controller.c Mon Dec 19 23:39:08 2011 (r228723)
@@ -91,7 +91,7 @@ SYSCTL_INT(_hw_usb, OID_AUTO, no_boot_wa
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;
More information about the svn-src-all
mailing list