summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-05-28 09:15:56 +0200
committerFelipe Balbi <balbi@ti.com>2013-06-10 17:58:08 +0300
commit02832e56f88a981474ee4c7c141f46fc1b4454f4 (patch)
tree9d69ab395696bb866ec54f17f2ecc4c67dbda84d /drivers/usb/gadget/Kconfig
parent74bf963d1d230b0cedbcbc46f6f15f20c2e3ee55 (diff)
downloadop-kernel-dev-02832e56f88a981474ee4c7c141f46fc1b4454f4.zip
op-kernel-dev-02832e56f88a981474ee4c7c141f46fc1b4454f4.tar.gz
usb: gadget: f_subset: add configfs support
f_subset learns about configfs so we can, eventually, remove in-kernel gadget drivers. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 0a444f3..3a72b9d 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -547,6 +547,16 @@ choice
# this first set of drivers all depend on bulk-capable hardware.
+config USB_CONFIGFS_ECM_SUBSET
+ boolean "Ethernet Control Model (CDC ECM) subset"
+ depends on USB_CONFIGFS
+ depends on NET
+ select USB_U_ETHER
+ select USB_F_SUBSET
+ help
+ On hardware that can't implement the full protocol,
+ a simple CDC subset is used, placing fewer demands on USB.
+
config USB_CONFIGFS_EEM
bool "Ethernet Emulation Model (EEM)"
depends on USB_CONFIGFS
OpenPOWER on IntegriCloud