diff options
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 14625fd2cecd..c5c6fa60910d 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -281,6 +281,7 @@ config USB_S3C_HSOTG | |||
281 | config USB_IMX | 281 | config USB_IMX |
282 | tristate "Freescale i.MX1 USB Peripheral Controller" | 282 | tristate "Freescale i.MX1 USB Peripheral Controller" |
283 | depends on ARCH_MXC | 283 | depends on ARCH_MXC |
284 | depends on BROKEN | ||
284 | help | 285 | help |
285 | Freescale's i.MX1 includes an integrated full speed | 286 | Freescale's i.MX1 includes an integrated full speed |
286 | USB 1.1 device controller. | 287 | USB 1.1 device controller. |
@@ -319,6 +320,7 @@ config USB_S3C_HSUDC | |||
319 | 320 | ||
320 | config USB_MV_UDC | 321 | config USB_MV_UDC |
321 | tristate "Marvell USB2.0 Device Controller" | 322 | tristate "Marvell USB2.0 Device Controller" |
323 | depends on GENERIC_HARDIRQS | ||
322 | help | 324 | help |
323 | Marvell Socs (including PXA and MMP series) include a high speed | 325 | Marvell Socs (including PXA and MMP series) include a high speed |
324 | USB2.0 OTG controller, which can be configured as high speed or | 326 | USB2.0 OTG controller, which can be configured as high speed or |
@@ -440,7 +442,7 @@ config USB_GOKU | |||
440 | 442 | ||
441 | config USB_EG20T | 443 | config USB_EG20T |
442 | tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7213/ML7831) UDC" | 444 | tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7213/ML7831) UDC" |
443 | depends on PCI | 445 | depends on PCI && GENERIC_HARDIRQS |
444 | help | 446 | help |
445 | This is a USB device driver for EG20T PCH. | 447 | This is a USB device driver for EG20T PCH. |
446 | EG20T PCH is the platform controller hub that is used in Intel's | 448 | EG20T PCH is the platform controller hub that is used in Intel's |
@@ -500,6 +502,15 @@ config USB_LIBCOMPOSITE | |||
500 | tristate | 502 | tristate |
501 | depends on USB_GADGET | 503 | depends on USB_GADGET |
502 | 504 | ||
505 | config USB_F_ACM | ||
506 | tristate | ||
507 | |||
508 | config USB_F_SS_LB | ||
509 | tristate | ||
510 | |||
511 | config USB_U_SERIAL | ||
512 | tristate | ||
513 | |||
503 | choice | 514 | choice |
504 | tristate "USB Gadget Drivers" | 515 | tristate "USB Gadget Drivers" |
505 | default USB_ETH | 516 | default USB_ETH |
@@ -524,6 +535,7 @@ choice | |||
524 | config USB_ZERO | 535 | config USB_ZERO |
525 | tristate "Gadget Zero (DEVELOPMENT)" | 536 | tristate "Gadget Zero (DEVELOPMENT)" |
526 | select USB_LIBCOMPOSITE | 537 | select USB_LIBCOMPOSITE |
538 | select USB_F_SS_LB | ||
527 | help | 539 | help |
528 | Gadget Zero is a two-configuration device. It either sinks and | 540 | Gadget Zero is a two-configuration device. It either sinks and |
529 | sources bulk data; or it loops back a configurable number of | 541 | sources bulk data; or it loops back a configurable number of |
@@ -750,6 +762,8 @@ config USB_GADGET_TARGET | |||
750 | 762 | ||
751 | config USB_G_SERIAL | 763 | config USB_G_SERIAL |
752 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" | 764 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" |
765 | select USB_U_SERIAL | ||
766 | select USB_F_ACM | ||
753 | select USB_LIBCOMPOSITE | 767 | select USB_LIBCOMPOSITE |
754 | help | 768 | help |
755 | The Serial Gadget talks to the Linux-USB generic serial driver. | 769 | The Serial Gadget talks to the Linux-USB generic serial driver. |
@@ -803,6 +817,8 @@ config USB_CDC_COMPOSITE | |||
803 | tristate "CDC Composite Device (Ethernet and ACM)" | 817 | tristate "CDC Composite Device (Ethernet and ACM)" |
804 | depends on NET | 818 | depends on NET |
805 | select USB_LIBCOMPOSITE | 819 | select USB_LIBCOMPOSITE |
820 | select USB_U_SERIAL | ||
821 | select USB_F_ACM | ||
806 | help | 822 | help |
807 | This driver provides two functions in one configuration: | 823 | This driver provides two functions in one configuration: |
808 | a CDC Ethernet (ECM) link, and a CDC ACM (serial port) link. | 824 | a CDC Ethernet (ECM) link, and a CDC ACM (serial port) link. |
@@ -818,6 +834,7 @@ config USB_G_NOKIA | |||
818 | tristate "Nokia composite gadget" | 834 | tristate "Nokia composite gadget" |
819 | depends on PHONET | 835 | depends on PHONET |
820 | select USB_LIBCOMPOSITE | 836 | select USB_LIBCOMPOSITE |
837 | select USB_U_SERIAL | ||
821 | help | 838 | help |
822 | The Nokia composite gadget provides support for acm, obex | 839 | The Nokia composite gadget provides support for acm, obex |
823 | and phonet in only one composite gadget driver. | 840 | and phonet in only one composite gadget driver. |
@@ -829,6 +846,8 @@ config USB_G_ACM_MS | |||
829 | tristate "CDC Composite Device (ACM and mass storage)" | 846 | tristate "CDC Composite Device (ACM and mass storage)" |
830 | depends on BLOCK | 847 | depends on BLOCK |
831 | select USB_LIBCOMPOSITE | 848 | select USB_LIBCOMPOSITE |
849 | select USB_U_SERIAL | ||
850 | select USB_F_ACM | ||
832 | help | 851 | help |
833 | This driver provides two functions in one configuration: | 852 | This driver provides two functions in one configuration: |
834 | a mass storage, and a CDC ACM (serial port) link. | 853 | a mass storage, and a CDC ACM (serial port) link. |
@@ -841,6 +860,8 @@ config USB_G_MULTI | |||
841 | depends on BLOCK && NET | 860 | depends on BLOCK && NET |
842 | select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS | 861 | select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS |
843 | select USB_LIBCOMPOSITE | 862 | select USB_LIBCOMPOSITE |
863 | select USB_U_SERIAL | ||
864 | select USB_F_ACM | ||
844 | help | 865 | help |
845 | The Multifunction Composite Gadget provides Ethernet (RNDIS | 866 | The Multifunction Composite Gadget provides Ethernet (RNDIS |
846 | and/or CDC Ethernet), mass storage and ACM serial link | 867 | and/or CDC Ethernet), mass storage and ACM serial link |
@@ -916,6 +937,7 @@ config USB_G_DBGP_PRINTK | |||
916 | 937 | ||
917 | config USB_G_DBGP_SERIAL | 938 | config USB_G_DBGP_SERIAL |
918 | depends on USB_G_DBGP | 939 | depends on USB_G_DBGP |
940 | select USB_U_SERIAL | ||
919 | bool "serial" | 941 | bool "serial" |
920 | help | 942 | help |
921 | Userland can interact using /dev/ttyGSxxx. | 943 | Userland can interact using /dev/ttyGSxxx. |