Kconfig (6e257b14218d0d963058a96736da6c6e2abb08f3) Kconfig (9c2b85f4f99cb5c5f4b8e29ef15e344f93ec5be1)
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).

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

507 tristate
508
509config USB_U_SERIAL
510 tristate
511
512config USB_U_ETHER
513 tristate
514
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).

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

507 tristate
508
509config USB_U_SERIAL
510 tristate
511
512config USB_U_ETHER
513 tristate
514
515config USB_U_RNDIS
516 tristate
517
518config USB_F_SERIAL
519 tristate
520
521config USB_F_OBEX
522 tristate
523
524config USB_F_NCM
525 tristate

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

637 On hardware that can't implement the full protocol,
638 a simple CDC subset is used, placing fewer demands on USB.
639
640config USB_CONFIGFS_RNDIS
641 bool "RNDIS"
642 depends on USB_CONFIGFS
643 depends on NET
644 select USB_U_ETHER
515config USB_F_SERIAL
516 tristate
517
518config USB_F_OBEX
519 tristate
520
521config USB_F_NCM
522 tristate

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

634 On hardware that can't implement the full protocol,
635 a simple CDC subset is used, placing fewer demands on USB.
636
637config USB_CONFIGFS_RNDIS
638 bool "RNDIS"
639 depends on USB_CONFIGFS
640 depends on NET
641 select USB_U_ETHER
645 select USB_U_RNDIS
646 select USB_F_RNDIS
647 help
648 Microsoft Windows XP bundles the "Remote NDIS" (RNDIS) protocol,
649 and Microsoft provides redistributable binary RNDIS drivers for
650 older versions of Windows.
651
652 To make MS-Windows work with this, use Documentation/usb/linux.inf
653 as the "driver info file". For versions of MS-Windows older than

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

767 paths hardwired to the Audio codec chip on-board and doesn't work
768 without one.
769
770config USB_ETH
771 tristate "Ethernet Gadget (with CDC Ethernet support)"
772 depends on NET
773 select USB_LIBCOMPOSITE
774 select USB_U_ETHER
642 select USB_F_RNDIS
643 help
644 Microsoft Windows XP bundles the "Remote NDIS" (RNDIS) protocol,
645 and Microsoft provides redistributable binary RNDIS drivers for
646 older versions of Windows.
647
648 To make MS-Windows work with this, use Documentation/usb/linux.inf
649 as the "driver info file". For versions of MS-Windows older than

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

763 paths hardwired to the Audio codec chip on-board and doesn't work
764 without one.
765
766config USB_ETH
767 tristate "Ethernet Gadget (with CDC Ethernet support)"
768 depends on NET
769 select USB_LIBCOMPOSITE
770 select USB_U_ETHER
775 select USB_U_RNDIS
776 select USB_F_ECM
777 select USB_F_SUBSET
778 select CRC32
779 help
780 This driver implements Ethernet style communication, in one of
781 several ways:
782
783 - The "Communication Device Class" (CDC) Ethernet Control Model.

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

900 help
901 Include a configuration with CDC ECM function (Ethernet) and the
902 Function Filesystem.
903
904config USB_FUNCTIONFS_RNDIS
905 bool "Include configuration with RNDIS (Ethernet)"
906 depends on USB_FUNCTIONFS && NET
907 select USB_U_ETHER
771 select USB_F_ECM
772 select USB_F_SUBSET
773 select CRC32
774 help
775 This driver implements Ethernet style communication, in one of
776 several ways:
777
778 - The "Communication Device Class" (CDC) Ethernet Control Model.

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

895 help
896 Include a configuration with CDC ECM function (Ethernet) and the
897 Function Filesystem.
898
899config USB_FUNCTIONFS_RNDIS
900 bool "Include configuration with RNDIS (Ethernet)"
901 depends on USB_FUNCTIONFS && NET
902 select USB_U_ETHER
908 select USB_U_RNDIS
909 select USB_F_RNDIS
910 help
911 Include a configuration with RNDIS function (Ethernet) and the Filesystem.
912
913config USB_FUNCTIONFS_GENERIC
914 bool "Include 'pure' configuration"
915 depends on USB_FUNCTIONFS
916 help

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

1075 use the gadget.
1076
1077 Say "y" to link the driver statically, or "m" to build a
1078 dynamically linked module called "g_multi".
1079
1080config USB_G_MULTI_RNDIS
1081 bool "RNDIS + CDC Serial + Storage configuration"
1082 depends on USB_G_MULTI
903 select USB_F_RNDIS
904 help
905 Include a configuration with RNDIS function (Ethernet) and the Filesystem.
906
907config USB_FUNCTIONFS_GENERIC
908 bool "Include 'pure' configuration"
909 depends on USB_FUNCTIONFS
910 help

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

1069 use the gadget.
1070
1071 Say "y" to link the driver statically, or "m" to build a
1072 dynamically linked module called "g_multi".
1073
1074config USB_G_MULTI_RNDIS
1075 bool "RNDIS + CDC Serial + Storage configuration"
1076 depends on USB_G_MULTI
1083 select USB_U_RNDIS
1084 select USB_F_RNDIS
1085 default y
1086 help
1087 This option enables a configuration with RNDIS, CDC Serial and
1088 Mass Storage functions available in the Multifunction Composite
1089 Gadget. This is the configuration dedicated for Windows since RNDIS
1090 is Microsoft's protocol.
1091

--- 79 unchanged lines hidden ---
1077 select USB_F_RNDIS
1078 default y
1079 help
1080 This option enables a configuration with RNDIS, CDC Serial and
1081 Mass Storage functions available in the Multifunction Composite
1082 Gadget. This is the configuration dedicated for Windows since RNDIS
1083 is Microsoft's protocol.
1084

--- 79 unchanged lines hidden ---