diff options
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | 2009-11-09 08:15:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 14:55:22 -0500 |
commit | d23b0f08d18fc42f26f6a0776c6d827eb35143a9 (patch) | |
tree | e6557975165865e43984045279e262d62b939dde /drivers/usb/gadget/Kconfig | |
parent | 6648f29d3be2972a74ef8e29aa5d425ab4f1fc48 (diff) |
USB: g_mass_storage: Mass Storage Function created
The f_mass_storage.c has been changed into a composite function.
mass_storage.c file has been introduced which defines a
g_mass_storage gadget based on composite framework.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index a18e3c5dd82e..3bb250fd5321 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -732,6 +732,24 @@ config USB_FILE_STORAGE_TEST | |||
732 | behavior of USB Mass Storage hosts. Not needed for | 732 | behavior of USB Mass Storage hosts. Not needed for |
733 | normal operation. | 733 | normal operation. |
734 | 734 | ||
735 | config USB_MASS_STORAGE | ||
736 | tristate "Mass Storage Gadget" | ||
737 | depends on BLOCK | ||
738 | help | ||
739 | The Mass Storage Gadget acts as a USB Mass Storage disk drive. | ||
740 | As its storage repository it can use a regular file or a block | ||
741 | device (in much the same way as the "loop" device driver), | ||
742 | specified as a module parameter or sysfs option. | ||
743 | |||
744 | This is heavily based on File-backed Storage Gadget and in most | ||
745 | cases you will want to use FSG instead. This gadget is mostly | ||
746 | here to test the functionality of the Mass Storage Function | ||
747 | which may be used with composite framework. | ||
748 | |||
749 | Say "y" to link the driver statically, or "m" to build | ||
750 | a dynamically linked module called "g_file_storage". If unsure, | ||
751 | consider File-backed Storage Gadget. | ||
752 | |||
735 | config USB_G_SERIAL | 753 | config USB_G_SERIAL |
736 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" | 754 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" |
737 | help | 755 | help |