aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-13 22:23:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-13 22:23:14 +0000
commit9882aa86495ced24d8caa4d028e5e662bb64cd45 (patch)
tree04a11567f098738f14466ce18c05d4ac7bc11c26 /target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch
parent2fb7989420a673711f44c4dbc18bca1d85bf77e3 (diff)
downloadmaster-187ad058-9882aa86495ced24d8caa4d028e5e662bb64cd45.tar.gz
master-187ad058-9882aa86495ced24d8caa4d028e5e662bb64cd45.tar.bz2
master-187ad058-9882aa86495ced24d8caa4d028e5e662bb64cd45.zip
kernel: finally remove layer7 filter support
it has been non-functional for years and caused numerous memleaks and crashes for people that tried to enable it. it has no maintained upstream source, and it does not look like it's going to be fixed any time soon Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45423 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch')
-rw-r--r--target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch b/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch
index 9e841cb642..71a0cb20b0 100644
--- a/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch
+++ b/target/linux/generic/patches-3.18/821-usb-dwc2-dualrole.patch
@@ -50,7 +50,10 @@
+config USB_DWC2_PERIPHERAL
+ bool "Gadget only mode"
+ depends on USB_GADGET=y || USB_GADGET=USB_DWC2
-+ help
+ help
+- The Designware USB2.0 platform interface module for
+- controllers directly connected to the CPU. This is only
+- used for host mode.
+ The Designware USB2.0 high-speed gadget controller
+ integrated into many SoCs. Select this option if you want the
+ driver to operate in Peripheral-only mode. This option requires
@@ -59,10 +62,7 @@
+config USB_DWC2_DUAL_ROLE
+ bool "Dual Role mode"
+ depends on (USB=y || USB=USB_DWC2) && (USB_GADGET=y || USB_GADGET=USB_DWC2)
- help
-- The Designware USB2.0 platform interface module for
-- controllers directly connected to the CPU. This is only
-- used for host mode.
++ help
+ Select this option if you want the driver to work in a dual-role
+ mode. In this mode both host and gadget features are enabled, and
+ the role will be determined by the cable that gets plugged-in. This