diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-05-28 03:15:51 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-06-10 10:58:00 -0400 |
commit | 17b80976f0aa28842593dae8b05fae9274b51375 (patch) | |
tree | 5fadb13f0352fe195ce59bc94144c994b8734490 /drivers/usb/gadget/Kconfig | |
parent | 998da497ec75076549469216a35305684098375f (diff) |
usb: gadget: f_eem: add configfs support
f_eem learns about our configfs interface so we
can remove in-kernel gadget drivers in future.
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/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 159393d58912..d5b0ffe26118 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -544,6 +544,21 @@ choice | |||
544 | 544 | ||
545 | # this first set of drivers all depend on bulk-capable hardware. | 545 | # this first set of drivers all depend on bulk-capable hardware. |
546 | 546 | ||
547 | config USB_CONFIGFS_EEM | ||
548 | bool "Ethernet Emulation Model (EEM)" | ||
549 | depends on USB_CONFIGFS | ||
550 | depends on NET | ||
551 | select USB_U_ETHER | ||
552 | select USB_F_EEM | ||
553 | help | ||
554 | CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM | ||
555 | and therefore can be supported by more hardware. Technically ECM and | ||
556 | EEM are designed for different applications. The ECM model extends | ||
557 | the network interface to the target (e.g. a USB cable modem), and the | ||
558 | EEM model is for mobile devices to communicate with hosts using | ||
559 | ethernet over USB. For Linux gadgets, however, the interface with | ||
560 | the host is the same (a usbX device), so the differences are minimal. | ||
561 | |||
547 | config USB_CONFIGFS_PHONET | 562 | config USB_CONFIGFS_PHONET |
548 | boolean "Phonet protocol" | 563 | boolean "Phonet protocol" |
549 | depends on USB_CONFIGFS | 564 | depends on USB_CONFIGFS |