Kconfig (c9e34d1525ffd554f29dc01674eac279de2e759d) Kconfig (f1a1823ff24fa4e3412b5078f20021cf40834946)
1#
2# USB Gadget support on a system involves
3# (a) a peripheral controller, and
4# (b) the gadget driver using it.
5#
6# NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
7#
8# - Host systems (like PCs) need CONFIG_USB (with "A" jacks).

--- 320 unchanged lines hidden (view full) ---

329 help
330 MARVELL PXA2128 Processor series include a super speed USB3.0 device
331 controller, which support super speed USB peripheral.
332
333#
334# Controllers available in both integrated and discrete versions
335#
336
1#
2# USB Gadget support on a system involves
3# (a) a peripheral controller, and
4# (b) the gadget driver using it.
5#
6# NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
7#
8# - Host systems (like PCs) need CONFIG_USB (with "A" jacks).

--- 320 unchanged lines hidden (view full) ---

329 help
330 MARVELL PXA2128 Processor series include a super speed USB3.0 device
331 controller, which support super speed USB peripheral.
332
333#
334# Controllers available in both integrated and discrete versions
335#
336
337# musb builds in ../musb along with host support
338config USB_GADGET_MUSB_HDRC
339 tristate "Inventra HDRC USB Peripheral (TI, ADI, ...)"
340 depends on USB_MUSB_HDRC
341 help
342 This OTG-capable silicon IP is used in dual designs including
343 the TI DaVinci, OMAP 243x, OMAP 343x, TUSB 6010, and ADI Blackfin
344
345config USB_M66592
346 tristate "Renesas M66592 USB Peripheral Controller"
347 help
348 M66592 is a discrete USB peripheral controller chip that
349 supports both full and high speed USB 2.0 data transfers.
350 It has seven configurable endpoints, and endpoint zero.
351
352 Say "y" to link the driver statically, or "m" to build a

--- 149 unchanged lines hidden (view full) ---

502 tristate
503
504config USB_F_SS_LB
505 tristate
506
507config USB_U_SERIAL
508 tristate
509
337config USB_M66592
338 tristate "Renesas M66592 USB Peripheral Controller"
339 help
340 M66592 is a discrete USB peripheral controller chip that
341 supports both full and high speed USB 2.0 data transfers.
342 It has seven configurable endpoints, and endpoint zero.
343
344 Say "y" to link the driver statically, or "m" to build a

--- 149 unchanged lines hidden (view full) ---

494 tristate
495
496config USB_F_SS_LB
497 tristate
498
499config USB_U_SERIAL
500 tristate
501
502config USB_U_ETHER
503 tristate
504
510config USB_F_SERIAL
511 tristate
512
513config USB_F_OBEX
514 tristate
515
516choice
517 tristate "USB Gadget Drivers"

--- 80 unchanged lines hidden (view full) ---

598 If you instead want older UAC Spec-1.0 driver that also has audio
599 paths hardwired to the Audio codec chip on-board and doesn't work
600 without one.
601
602config USB_ETH
603 tristate "Ethernet Gadget (with CDC Ethernet support)"
604 depends on NET
605 select USB_LIBCOMPOSITE
505config USB_F_SERIAL
506 tristate
507
508config USB_F_OBEX
509 tristate
510
511choice
512 tristate "USB Gadget Drivers"

--- 80 unchanged lines hidden (view full) ---

593 If you instead want older UAC Spec-1.0 driver that also has audio
594 paths hardwired to the Audio codec chip on-board and doesn't work
595 without one.
596
597config USB_ETH
598 tristate "Ethernet Gadget (with CDC Ethernet support)"
599 depends on NET
600 select USB_LIBCOMPOSITE
601 select USB_U_ETHER
606 select CRC32
607 help
608 This driver implements Ethernet style communication, in one of
609 several ways:
610
611 - The "Communication Device Class" (CDC) Ethernet Control Model.
612 That protocol is often avoided with pure Ethernet adapters, in
613 favor of simpler vendor-specific hardware, but is widely

--- 56 unchanged lines hidden (view full) ---

670
671 If you say "y" here, the Ethernet gadget driver will use the EEM
672 protocol rather than ECM. If unsure, say "n".
673
674config USB_G_NCM
675 tristate "Network Control Model (NCM) support"
676 depends on NET
677 select USB_LIBCOMPOSITE
602 select CRC32
603 help
604 This driver implements Ethernet style communication, in one of
605 several ways:
606
607 - The "Communication Device Class" (CDC) Ethernet Control Model.
608 That protocol is often avoided with pure Ethernet adapters, in
609 favor of simpler vendor-specific hardware, but is widely

--- 56 unchanged lines hidden (view full) ---

666
667 If you say "y" here, the Ethernet gadget driver will use the EEM
668 protocol rather than ECM. If unsure, say "n".
669
670config USB_G_NCM
671 tristate "Network Control Model (NCM) support"
672 depends on NET
673 select USB_LIBCOMPOSITE
674 select USB_U_ETHER
678 select CRC32
679 help
680 This driver implements USB CDC NCM subclass standard. NCM is
681 an advanced protocol for Ethernet encapsulation, allows grouping
682 of several ethernet frames into one USB transfer and different
683 alignment possibilities.
684
685 Say "y" to link the driver statically, or "m" to build a

--- 27 unchanged lines hidden (view full) ---

713 configurations the gadget will provide.
714
715 Say "y" to link the driver statically, or "m" to build
716 a dynamically linked module called "g_ffs".
717
718config USB_FUNCTIONFS_ETH
719 bool "Include configuration with CDC ECM (Ethernet)"
720 depends on USB_FUNCTIONFS && NET
675 select CRC32
676 help
677 This driver implements USB CDC NCM subclass standard. NCM is
678 an advanced protocol for Ethernet encapsulation, allows grouping
679 of several ethernet frames into one USB transfer and different
680 alignment possibilities.
681
682 Say "y" to link the driver statically, or "m" to build a

--- 27 unchanged lines hidden (view full) ---

710 configurations the gadget will provide.
711
712 Say "y" to link the driver statically, or "m" to build
713 a dynamically linked module called "g_ffs".
714
715config USB_FUNCTIONFS_ETH
716 bool "Include configuration with CDC ECM (Ethernet)"
717 depends on USB_FUNCTIONFS && NET
718 select USB_U_ETHER
721 help
722 Include a configuration with CDC ECM function (Ethernet) and the
723 Function Filesystem.
724
725config USB_FUNCTIONFS_RNDIS
726 bool "Include configuration with RNDIS (Ethernet)"
727 depends on USB_FUNCTIONFS && NET
719 help
720 Include a configuration with CDC ECM function (Ethernet) and the
721 Function Filesystem.
722
723config USB_FUNCTIONFS_RNDIS
724 bool "Include configuration with RNDIS (Ethernet)"
725 depends on USB_FUNCTIONFS && NET
726 select USB_U_ETHER
728 help
729 Include a configuration with RNDIS function (Ethernet) and the Filesystem.
730
731config USB_FUNCTIONFS_GENERIC
732 bool "Include 'pure' configuration"
733 depends on USB_FUNCTIONFS
734 help
735 Include a configuration with the Function Filesystem alone with

--- 84 unchanged lines hidden (view full) ---

820
821if TTY
822
823config USB_CDC_COMPOSITE
824 tristate "CDC Composite Device (Ethernet and ACM)"
825 depends on NET
826 select USB_LIBCOMPOSITE
827 select USB_U_SERIAL
727 help
728 Include a configuration with RNDIS function (Ethernet) and the Filesystem.
729
730config USB_FUNCTIONFS_GENERIC
731 bool "Include 'pure' configuration"
732 depends on USB_FUNCTIONFS
733 help
734 Include a configuration with the Function Filesystem alone with

--- 84 unchanged lines hidden (view full) ---

819
820if TTY
821
822config USB_CDC_COMPOSITE
823 tristate "CDC Composite Device (Ethernet and ACM)"
824 depends on NET
825 select USB_LIBCOMPOSITE
826 select USB_U_SERIAL
827 select USB_U_ETHER
828 select USB_F_ACM
829 help
830 This driver provides two functions in one configuration:
831 a CDC Ethernet (ECM) link, and a CDC ACM (serial port) link.
832
833 This driver requires four bulk and two interrupt endpoints,
834 plus the ability to handle altsettings. Not all peripheral
835 controllers are that capable.
836
837 Say "y" to link the driver statically, or "m" to build a
838 dynamically linked module.
839
840config USB_G_NOKIA
841 tristate "Nokia composite gadget"
842 depends on PHONET
843 select USB_LIBCOMPOSITE
844 select USB_U_SERIAL
828 select USB_F_ACM
829 help
830 This driver provides two functions in one configuration:
831 a CDC Ethernet (ECM) link, and a CDC ACM (serial port) link.
832
833 This driver requires four bulk and two interrupt endpoints,
834 plus the ability to handle altsettings. Not all peripheral
835 controllers are that capable.
836
837 Say "y" to link the driver statically, or "m" to build a
838 dynamically linked module.
839
840config USB_G_NOKIA
841 tristate "Nokia composite gadget"
842 depends on PHONET
843 select USB_LIBCOMPOSITE
844 select USB_U_SERIAL
845 select USB_U_ETHER
845 select USB_F_ACM
846 help
847 The Nokia composite gadget provides support for acm, obex
848 and phonet in only one composite gadget driver.
849
850 It's only really useful for N900 hardware. If you're building
851 a kernel for N900, say Y or M here. If unsure, say N.
852

--- 11 unchanged lines hidden (view full) ---

864 dynamically linked module called "g_acm_ms".
865
866config USB_G_MULTI
867 tristate "Multifunction Composite Gadget"
868 depends on BLOCK && NET
869 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
870 select USB_LIBCOMPOSITE
871 select USB_U_SERIAL
846 select USB_F_ACM
847 help
848 The Nokia composite gadget provides support for acm, obex
849 and phonet in only one composite gadget driver.
850
851 It's only really useful for N900 hardware. If you're building
852 a kernel for N900, say Y or M here. If unsure, say N.
853

--- 11 unchanged lines hidden (view full) ---

865 dynamically linked module called "g_acm_ms".
866
867config USB_G_MULTI
868 tristate "Multifunction Composite Gadget"
869 depends on BLOCK && NET
870 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
871 select USB_LIBCOMPOSITE
872 select USB_U_SERIAL
873 select USB_U_ETHER
872 select USB_F_ACM
873 help
874 The Multifunction Composite Gadget provides Ethernet (RNDIS
875 and/or CDC Ethernet), mass storage and ACM serial link
876 interfaces.
877
878 You will be asked to choose which of the two configurations is
879 to be available in the gadget. At least one configuration must

--- 96 unchanged lines hidden ---
874 select USB_F_ACM
875 help
876 The Multifunction Composite Gadget provides Ethernet (RNDIS
877 and/or CDC Ethernet), mass storage and ACM serial link
878 interfaces.
879
880 You will be asked to choose which of the two configurations is
881 to be available in the gadget. At least one configuration must

--- 96 unchanged lines hidden ---