Kconfig (1bcce939478f894b46a592aed28ccc9caaf1a52a) Kconfig (8254baccdd2635782826936b72608449b6b4bbde)
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).

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

520 tristate
521
522config USB_F_SUBSET
523 tristate
524
525config USB_F_RNDIS
526 tristate
527
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).

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

520 tristate
521
522config USB_F_SUBSET
523 tristate
524
525config USB_F_RNDIS
526 tristate
527
528config USB_U_MS
529 tristate
530
531config USB_F_MASS_STORAGE
532 tristate
533
534choice
535 tristate "USB Gadget Drivers"
536 default USB_ETH
537 help
538 A Linux "Gadget Driver" talks to the USB Peripheral Controller

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

666 select USB_U_ETHER
667 select USB_F_PHONET
668 help
669 The Phonet protocol implementation for USB device.
670
671config USB_CONFIGFS_MASS_STORAGE
672 boolean "Mass storage"
673 depends on USB_CONFIGFS
528config USB_F_MASS_STORAGE
529 tristate
530
531choice
532 tristate "USB Gadget Drivers"
533 default USB_ETH
534 help
535 A Linux "Gadget Driver" talks to the USB Peripheral Controller

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

663 select USB_U_ETHER
664 select USB_F_PHONET
665 help
666 The Phonet protocol implementation for USB device.
667
668config USB_CONFIGFS_MASS_STORAGE
669 boolean "Mass storage"
670 depends on USB_CONFIGFS
674 select USB_U_MS
675 select USB_F_MASS_STORAGE
676 help
677 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
678 As its storage repository it can use a regular file or a block
679 device (in much the same way as the "loop" device driver),
680 specified as a module parameter or sysfs option.
681
682config USB_ZERO

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

890 help
891 Include a configuration with the Function Filesystem alone with
892 no Ethernet interface.
893
894config USB_MASS_STORAGE
895 tristate "Mass Storage Gadget"
896 depends on BLOCK
897 select USB_LIBCOMPOSITE
671 select USB_F_MASS_STORAGE
672 help
673 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
674 As its storage repository it can use a regular file or a block
675 device (in much the same way as the "loop" device driver),
676 specified as a module parameter or sysfs option.
677
678config USB_ZERO

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

886 help
887 Include a configuration with the Function Filesystem alone with
888 no Ethernet interface.
889
890config USB_MASS_STORAGE
891 tristate "Mass Storage Gadget"
892 depends on BLOCK
893 select USB_LIBCOMPOSITE
898 select USB_U_MS
899 select USB_F_MASS_STORAGE
900 help
901 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
902 As its storage repository it can use a regular file or a block
903 device (in much the same way as the "loop" device driver),
904 specified as a module parameter or sysfs option.
905
906 This driver is a replacement for now removed File-backed

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

1015 a kernel for N900, say Y or M here. If unsure, say N.
1016
1017config USB_G_ACM_MS
1018 tristate "CDC Composite Device (ACM and mass storage)"
1019 depends on BLOCK
1020 select USB_LIBCOMPOSITE
1021 select USB_U_SERIAL
1022 select USB_F_ACM
894 select USB_F_MASS_STORAGE
895 help
896 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
897 As its storage repository it can use a regular file or a block
898 device (in much the same way as the "loop" device driver),
899 specified as a module parameter or sysfs option.
900
901 This driver is a replacement for now removed File-backed

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

1010 a kernel for N900, say Y or M here. If unsure, say N.
1011
1012config USB_G_ACM_MS
1013 tristate "CDC Composite Device (ACM and mass storage)"
1014 depends on BLOCK
1015 select USB_LIBCOMPOSITE
1016 select USB_U_SERIAL
1017 select USB_F_ACM
1023 select USB_U_MS
1024 select USB_F_MASS_STORAGE
1025 help
1026 This driver provides two functions in one configuration:
1027 a mass storage, and a CDC ACM (serial port) link.
1028
1029 Say "y" to link the driver statically, or "m" to build a
1030 dynamically linked module called "g_acm_ms".
1031
1032config USB_G_MULTI
1033 tristate "Multifunction Composite Gadget"
1034 depends on BLOCK && NET
1035 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
1036 select USB_LIBCOMPOSITE
1037 select USB_U_SERIAL
1038 select USB_U_ETHER
1039 select USB_F_ACM
1018 select USB_F_MASS_STORAGE
1019 help
1020 This driver provides two functions in one configuration:
1021 a mass storage, and a CDC ACM (serial port) link.
1022
1023 Say "y" to link the driver statically, or "m" to build a
1024 dynamically linked module called "g_acm_ms".
1025
1026config USB_G_MULTI
1027 tristate "Multifunction Composite Gadget"
1028 depends on BLOCK && NET
1029 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
1030 select USB_LIBCOMPOSITE
1031 select USB_U_SERIAL
1032 select USB_U_ETHER
1033 select USB_F_ACM
1040 select USB_U_MS
1041 select USB_F_MASS_STORAGE
1042 help
1043 The Multifunction Composite Gadget provides Ethernet (RNDIS
1044 and/or CDC Ethernet), mass storage and ACM serial link
1045 interfaces.
1046
1047 You will be asked to choose which of the two configurations is
1048 to be available in the gadget. At least one configuration must

--- 99 unchanged lines hidden ---
1034 select USB_F_MASS_STORAGE
1035 help
1036 The Multifunction Composite Gadget provides Ethernet (RNDIS
1037 and/or CDC Ethernet), mass storage and ACM serial link
1038 interfaces.
1039
1040 You will be asked to choose which of the two configurations is
1041 to be available in the gadget. At least one configuration must

--- 99 unchanged lines hidden ---