1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Extend sysctl description for hw.usb.disable_enumeration .

PR:		222505
Submitted by:	Julian H. Stacey <jhs@berklix.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-09-22 08:21:35 +00:00
parent 1c6ea90df5
commit d384b1673f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323916

View File

@ -100,7 +100,9 @@ SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RWTUN,
#if USB_HAVE_DISABLE_ENUM
static int usb_disable_enumeration = 0;
SYSCTL_INT(_hw_usb, OID_AUTO, disable_enumeration, CTLFLAG_RWTUN,
&usb_disable_enumeration, 0, "Set to disable all USB device enumeration.");
&usb_disable_enumeration, 0, "Set to disable all USB device enumeration. "
"This can secure against USB devices turning evil, "
"for example a USB memory stick becoming a USB keyboard.");
static int usb_disable_port_power = 0;
SYSCTL_INT(_hw_usb, OID_AUTO, disable_port_power, CTLFLAG_RWTUN,