USB: g_ffs: the FunctionFS gadget driver
[deliverable/linux.git] / drivers / usb / gadget / Kconfig
index 96e1494723adb07ead513947be84d72964c96107..0282c50d6404384a4524efc2bea0800800f2a6c5 100644 (file)
@@ -710,6 +710,43 @@ config USB_GADGETFS
          Say "y" to link the driver statically, or "m" to build a
          dynamically linked module called "gadgetfs".
 
+config USB_FUNCTIONFS
+       tristate "Function Filesystem (EXPERIMENTAL)"
+       depends on EXPERIMENTAL
+       help
+         The Function Filesystem (FunctioFS) lets one create USB
+         composite functions in user space in the same way as GadgetFS
+         lets one create USB gadgets in user space.  This allows creation
+         of composite gadgets such that some of the functions are
+         implemented in kernel space (for instance Ethernet, serial or
+         mass storage) and other are implemented in user space.
+
+         Say "y" to link the driver statically, or "m" to build
+         a dynamically linked module called "g_ffs".
+
+config USB_FUNCTIONFS_ETH
+       bool "Include CDC ECM (Ethernet) function"
+       depends on USB_FUNCTIONFS
+       help
+         Include an CDC ECM (Ethernet) funcion in the CDC ECM (Funcion)
+         Filesystem.  If you also say "y" to the RNDIS query below the
+         gadget will have two configurations.
+
+config USB_FUNCTIONFS_RNDIS
+       bool "Include RNDIS (Ethernet) function"
+       depends on USB_FUNCTIONFS
+       help
+         Include an RNDIS (Ethernet) funcion in the Funcion Filesystem.
+         If you also say "y" to the CDC ECM query above the gadget will
+         have two configurations.
+
+config USB_FUNCTIONFS_GENERIC
+       bool "Include 'pure' configuration"
+       depends on USB_FUNCTIONFS && (USB_FUNCTIONFS_ETH || USB_FUNCTIONFS_RNDIS)
+       help
+         Include a configuration with FunctionFS and no Ethernet
+         configuration.
+
 config USB_FILE_STORAGE
        tristate "File-backed Storage Gadget"
        depends on BLOCK
This page took 0.024933 seconds and 5 git commands to generate.