[PATCH 00/16] Mass Storage USB composite Function created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First 12 patches are slightly modified versions of patches I've
already sent to linux-usb mailing list.  The patches have been
modified as per Alan's comments as well as rearranged a bit and
squashed to produce less small patches (hope it didn't compromise
patche's readability).

The last 4 patches introduces new changes I haven't published yet.

Still, some of the patches may be further squashed but I decided not
to do so while sending them as to help reviewing.


The gadget has been tested on S3C 6410 platform (ARM) with 2.6.30
kernel (with 'USB: g_file_storage: use the "unaligned" accessors'
commit backported).

Moroever, the patchset applies cleanly on v2.6.31 as well as Linus'
master branch generating tree that compiles on x86 and cross-compiles
on ARM both when gadgets are compiled-in and compiled as modules.

Michal Nazarewicz (16):
  USB: g_file_storage: parts of file_storage.c moved to separate file
  USB: g_file_storage: "fsg_" prefix added to some identifiers
  USB: g_file_storage: per-LUN ro, removable and cdrom flags handling
    changed
  USB: g_file_storage: more code from file_storage.c moved to
    storage_common.c
  USB: g_mass_storage: template f_mass_storage.c file created
  USB: g_mass_storage: testing code from f_mass_storage.c removed
  USB: g_mass_storage: parts of fsg_dev moved to fsg_common structure
  USB: g_mass_storage: constant length buffers used
  USB: g_mass_storage: fsg_common_init() created
  USB: g_mass_storage: Mass Storage Function created
  USB: g_mass_storage: fsg_config added & module params handlig changed
  USB: g_mass_storage: lun_name_format and thread_name added
  USB: g_mass_storage: code cleaned up and comments updated
  USB: g_mass_storage: most data moved to fsg_common
  USB: composite: usb_composite_unregister() no longer __exit
  USB: g_mass_storage: thread_exits callback added

 drivers/usb/gadget/Kconfig          |   18 +
 drivers/usb/gadget/Makefile         |    2 +
 drivers/usb/gadget/composite.c      |    5 +-
 drivers/usb/gadget/f_mass_storage.c | 3091 +++++++++++++++++++++++++++++++
 drivers/usb/gadget/file_storage.c   |  878 ++--------
 drivers/usb/gadget/mass_storage.c   |  240 +++
 drivers/usb/gadget/storage_common.c |  778 ++++++++
 7 files changed, 4242 insertions(+), 770 deletions(-)
 create mode 100644 drivers/usb/gadget/f_mass_storage.c
 create mode 100644 drivers/usb/gadget/mass_storage.c
 create mode 100644 drivers/usb/gadget/storage_common.c


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux