diff options
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 9f986b417c5b..33351312327f 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -124,7 +124,7 @@ choice | |||
124 | 124 | ||
125 | config USB_GADGET_AT91 | 125 | config USB_GADGET_AT91 |
126 | boolean "Atmel AT91 USB Device Port" | 126 | boolean "Atmel AT91 USB Device Port" |
127 | depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9 | 127 | depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9 && !ARCH_AT91SAM9G45 |
128 | select USB_GADGET_SELECTED | 128 | select USB_GADGET_SELECTED |
129 | help | 129 | help |
130 | Many Atmel AT91 processors (such as the AT91RM2000) have a | 130 | Many Atmel AT91 processors (such as the AT91RM2000) have a |
@@ -143,7 +143,7 @@ config USB_AT91 | |||
143 | config USB_GADGET_ATMEL_USBA | 143 | config USB_GADGET_ATMEL_USBA |
144 | boolean "Atmel USBA" | 144 | boolean "Atmel USBA" |
145 | select USB_GADGET_DUALSPEED | 145 | select USB_GADGET_DUALSPEED |
146 | depends on AVR32 || ARCH_AT91CAP9 || ARCH_AT91SAM9RL | 146 | depends on AVR32 || ARCH_AT91CAP9 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45 |
147 | help | 147 | help |
148 | USBA is the integrated high-speed USB Device controller on | 148 | USBA is the integrated high-speed USB Device controller on |
149 | the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel. | 149 | the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel. |
@@ -627,9 +627,10 @@ config USB_AUDIO | |||
627 | config USB_ETH | 627 | config USB_ETH |
628 | tristate "Ethernet Gadget (with CDC Ethernet support)" | 628 | tristate "Ethernet Gadget (with CDC Ethernet support)" |
629 | depends on NET | 629 | depends on NET |
630 | select CRC32 | ||
630 | help | 631 | help |
631 | This driver implements Ethernet style communication, in either | 632 | This driver implements Ethernet style communication, in one of |
632 | of two ways: | 633 | several ways: |
633 | 634 | ||
634 | - The "Communication Device Class" (CDC) Ethernet Control Model. | 635 | - The "Communication Device Class" (CDC) Ethernet Control Model. |
635 | That protocol is often avoided with pure Ethernet adapters, in | 636 | That protocol is often avoided with pure Ethernet adapters, in |
@@ -639,7 +640,11 @@ config USB_ETH | |||
639 | - On hardware can't implement that protocol, a simple CDC subset | 640 | - On hardware can't implement that protocol, a simple CDC subset |
640 | is used, placing fewer demands on USB. | 641 | is used, placing fewer demands on USB. |
641 | 642 | ||
642 | RNDIS support is a third option, more demanding than that subset. | 643 | - CDC Ethernet Emulation Model (EEM) is a newer standard that has |
644 | a simpler interface that can be used by more USB hardware. | ||
645 | |||
646 | RNDIS support is an additional option, more demanding than than | ||
647 | subset. | ||
643 | 648 | ||
644 | Within the USB device, this gadget driver exposes a network device | 649 | Within the USB device, this gadget driver exposes a network device |
645 | "usbX", where X depends on what other networking devices you have. | 650 | "usbX", where X depends on what other networking devices you have. |
@@ -672,6 +677,22 @@ config USB_ETH_RNDIS | |||
672 | XP, you'll need to download drivers from Microsoft's website; a URL | 677 | XP, you'll need to download drivers from Microsoft's website; a URL |
673 | is given in comments found in that info file. | 678 | is given in comments found in that info file. |
674 | 679 | ||
680 | config USB_ETH_EEM | ||
681 | bool "Ethernet Emulation Model (EEM) support" | ||
682 | depends on USB_ETH | ||
683 | default n | ||
684 | help | ||
685 | CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM | ||
686 | and therefore can be supported by more hardware. Technically ECM and | ||
687 | EEM are designed for different applications. The ECM model extends | ||
688 | the network interface to the target (e.g. a USB cable modem), and the | ||
689 | EEM model is for mobile devices to communicate with hosts using | ||
690 | ethernet over USB. For Linux gadgets, however, the interface with | ||
691 | the host is the same (a usbX device), so the differences are minimal. | ||
692 | |||
693 | If you say "y" here, the Ethernet gadget driver will use the EEM | ||
694 | protocol rather than ECM. If unsure, say "n". | ||
695 | |||
675 | config USB_GADGETFS | 696 | config USB_GADGETFS |
676 | tristate "Gadget Filesystem (EXPERIMENTAL)" | 697 | tristate "Gadget Filesystem (EXPERIMENTAL)" |
677 | depends on EXPERIMENTAL | 698 | depends on EXPERIMENTAL |