Kconfig (f19f8d8ebc0b392c01082e0feb44ec152cc47a30) Kconfig (c0501f47c68997ea2933460b9908e6a049c59f21)
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).

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

684 depends on USB_CONFIGFS
685 select USB_F_MASS_STORAGE
686 help
687 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
688 As its storage repository it can use a regular file or a block
689 device (in much the same way as the "loop" device driver),
690 specified as a module parameter or sysfs option.
691
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).

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

684 depends on USB_CONFIGFS
685 select USB_F_MASS_STORAGE
686 help
687 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
688 As its storage repository it can use a regular file or a block
689 device (in much the same way as the "loop" device driver),
690 specified as a module parameter or sysfs option.
691
692config USB_CONFIGFS_F_LB
693 boolean "Loopback function (for testing)"
694 depends on USB_CONFIGFS
695 select USB_F_SS_LB
696 help
697 It loops back a configurable number of transfers.
698 It also implements control requests, for "chapter 9" conformance.
699 Make this be the first driver you try using on top of any new
700 USB peripheral controller driver. Then you can use host-side
701 test software, like the "usbtest" driver, to put your hardware
702 and its driver through a basic set of functional tests.
703
692config USB_ZERO
693 tristate "Gadget Zero (DEVELOPMENT)"
694 select USB_LIBCOMPOSITE
695 select USB_F_SS_LB
696 help
697 Gadget Zero is a two-configuration device. It either sinks and
698 sources bulk data; or it loops back a configurable number of
699 transfers. It also implements control requests, for "chapter 9"

--- 455 unchanged lines hidden ---
704config USB_ZERO
705 tristate "Gadget Zero (DEVELOPMENT)"
706 select USB_LIBCOMPOSITE
707 select USB_F_SS_LB
708 help
709 Gadget Zero is a two-configuration device. It either sinks and
710 sources bulk data; or it loops back a configurable number of
711 transfers. It also implements control requests, for "chapter 9"

--- 455 unchanged lines hidden ---