linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] Several improvements to USB gadgets
@ 2010-05-19  9:04 Michal Nazarewicz
  2010-05-19  9:04 ` [PATCH 1/8] USB: gadget: g_mass_storage: static data instead of dynamic allocation Michal Nazarewicz
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Michal Nazarewicz @ 2010-05-19  9:04 UTC (permalink / raw)
  To: linux-usb; +Cc: Kyungmin Park, Marek Szyprowski, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; CHARSET=EUC-KR, Size: 2551 bytes --]

This patchset introduces several improvements to USB gadget,
functions, etc.:

Michal Nazarewicz (8):
  USB: gadget: g_mass_storage: static data instead of dynamic
    allocation

A micro optimisation preventing a kmalloc call() which would otherwise
be always called at the very beginning for the same area size.

This was submitted previously by me but Greg did not included it in
his quilt tree (unless I overlooked something) so I'll posting it
again for completeness.  Sorry if that creates confusion.

  USB: gadget: f_mass_storage: fsg_add() renamed to fsg_bind_config()
  USB: gadget: f_fs: functionfs_add() renamed to
    functionfs_bind_config()

All other functions use foo_bind_config() to add function to USB
configuration so changed the names for mass storage and FunctionFS as
well.

In case of mass storage the old (fsg_add()) function is still
available but marked deprecated.  In case of FFS the old
(functionfs_add()) function has been removed.

  USB: gadget: composite: usb_string_ids_*() functions added
  USB: gadget: f_fs: use usb_string_ids_n()

usb_string_ids_n() and usb_string_ids_tab() functions added for batch
sting IDs requests.

  USB: gadget: g_multi: code clean up and refactoring
  USB: gadget: g_multi: more configurable
  USB: gadget: g_multi: added documentation and INF files

g_multi clean up, fixes, etc.

 Documentation/usb/gadget_multi.txt        |  129 +++++++++++++++
 Documentation/usb/gadget_multi_rndis.inf  |  200 +++++++++++++++++++++++
 Documentation/usb/gadget_multi_serial.inf |   44 +++++
 drivers/usb/gadget/Kconfig                |   66 +++++---
 drivers/usb/gadget/composite.c            |   67 +++++++-
 drivers/usb/gadget/f_fs.c                 |   35 ++---
 drivers/usb/gadget/f_mass_storage.c       |   13 +-
 drivers/usb/gadget/g_ffs.c                |    2 +-
 drivers/usb/gadget/mass_storage.c         |   13 +-
 drivers/usb/gadget/multi.c                |  254 +++++++++++++++--------------
 include/linux/usb/composite.h             |    4 +
 include/linux/usb/functionfs.h            |    6 +-
 12 files changed, 653 insertions(+), 180 deletions(-)
 create mode 100644 Documentation/usb/gadget_multi.txt
 create mode 100644 Documentation/usb/gadget_multi_rndis.inf
 create mode 100644 Documentation/usb/gadget_multi_serial.inf

-- 
Best regards,                                        _     _
| Humble Liege of Serenely Enlightened Majesty of  o' \,=./ `o
| Computer Science,  Michał "mina86" Nazarewicz       (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-05-21 10:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19  9:04 [PATCH 0/8] Several improvements to USB gadgets Michal Nazarewicz
2010-05-19  9:04 ` [PATCH 1/8] USB: gadget: g_mass_storage: static data instead of dynamic allocation Michal Nazarewicz
2010-05-19  9:04   ` [PATCH 2/8] USB: gadget: f_mass_storage: fsg_add() renamed to fsg_bind_config() Michal Nazarewicz
2010-05-19  9:04     ` [PATCH 3/8] USB: gadget: f_fs: functionfs_add() renamed to functionfs_bind_config() Michal Nazarewicz
2010-05-19  9:04       ` [PATCH 4/8] USB: gadget: composite: usb_string_ids_*() functions added Michal Nazarewicz
2010-05-19  9:04         ` [PATCH 5/8] USB: gadget: f_fs: use usb_string_ids_n() Michal Nazarewicz
2010-05-19  9:04           ` [PATCH 6/8] USB: gadget: g_multi: code clean up and refactoring Michal Nazarewicz
2010-05-19  9:04             ` [PATCH 7/8] USB: gadget: g_multi: more configurable Michal Nazarewicz
2010-05-19  9:04               ` [PATCH 8/8] USB: gadget: g_multi: added documentation and INF files Michal Nazarewicz
2010-05-20 16:22               ` [PATCH 7/8] USB: gadget: g_multi: more configurable David Brownell
2010-05-21 10:13                 ` Michał Nazarewicz
2010-05-20 16:30               ` David Brownell
2010-05-20 17:01           ` [PATCH 5/8] USB: gadget: f_fs: use usb_string_ids_n() Sergei Shtylyov
2010-05-21  9:42             ` Michał Nazarewicz
2010-05-19  9:19 ` [PATCH 0/8] Several improvements to USB gadgets Michał Nazarewicz
2010-05-19 16:33   ` Greg KH
2010-05-20  8:57 ` Michał Nazarewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).