summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/dwc_otg.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2012-10-26 06:04:47 +0000
committerhselasky <hselasky@FreeBSD.org>2012-10-26 06:04:47 +0000
commit93b8343e6b481857fb3470096ca43692d9c0b3cb (patch)
tree76e56cbcb96afa105fdc7e27f713e4c764f56796 /sys/dev/usb/controller/dwc_otg.c
parentb4838ce8fff5b4a05c2cfbb2121f2cda09318d2d (diff)
downloadFreeBSD-src-93b8343e6b481857fb3470096ca43692d9c0b3cb.zip
FreeBSD-src-93b8343e6b481857fb3470096ca43692d9c0b3cb.tar.gz
Add missing CTLFLAG_TUN flag to tunable sysctls in USB stack.
Rearrange the tunables and belonging sysctl declarations, so that they are next to eachother. Submitted by: n_hibma @ MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/controller/dwc_otg.c')
-rw-r--r--sys/dev/usb/controller/dwc_otg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/dwc_otg.c b/sys/dev/usb/controller/dwc_otg.c
index 49060e0..bb19e40 100644
--- a/sys/dev/usb/controller/dwc_otg.c
+++ b/sys/dev/usb/controller/dwc_otg.c
@@ -105,9 +105,8 @@ static int dwc_otg_use_hsic;
static SYSCTL_NODE(_hw_usb, OID_AUTO, dwc_otg, CTLFLAG_RW, 0, "USB DWC OTG");
-SYSCTL_INT(_hw_usb_dwc_otg, OID_AUTO, use_hsic, CTLFLAG_RD,
+SYSCTL_INT(_hw_usb_dwc_otg, OID_AUTO, use_hsic, CTLFLAG_RD | CTLFLAG_TUN,
&dwc_otg_use_hsic, 0, "DWC OTG uses HSIC interface");
-
TUNABLE_INT("hw.usb.dwc_otg.use_hsic", &dwc_otg_use_hsic);
#ifdef USB_DEBUG
OpenPOWER on IntegriCloud