summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
committerthompsa <thompsa@FreeBSD.org>2009-11-22 21:21:22 +0000
commit76c322aad5bf9b07d9f924b436d7d6753be34426 (patch)
treea9534a7551ff9a80078d47dd35ea2a99a024f139 /sys/dev/usb/input
parent5cc1375c31a20e69a7c4df470b5e141a00b53620 (diff)
downloadFreeBSD-src-76c322aad5bf9b07d9f924b436d7d6753be34426.zip
FreeBSD-src-76c322aad5bf9b07d9f924b436d7d6753be34426.tar.gz
Provide tunables for some of the usb sysctls that affect boot behaviour.
Submitted by: Andriy Gapon
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/ukbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c
index 26ed8bc..a419f95 100644
--- a/sys/dev/usb/input/ukbd.c
+++ b/sys/dev/usb/input/ukbd.c
@@ -105,6 +105,8 @@ SYSCTL_INT(_hw_usb_ukbd, OID_AUTO, debug, CTLFLAG_RW,
SYSCTL_INT(_hw_usb_ukbd, OID_AUTO, no_leds, CTLFLAG_RW,
&ukbd_no_leds, 0, "Disables setting of keyboard leds");
+TUNABLE_INT("hw.usb.ukbd.debug", &ukbd_debug);
+TUNABLE_INT("hw.usb.ukbd.no_leds", &ukbd_no_leds);
#endif
#define UPROTO_BOOT_KEYBOARD 1
OpenPOWER on IntegriCloud