Re: [RFC/PATCH v4 1/3] uas: MS UAS Gadget driver - Infrastructure

From: Felipe Balbi
Date: Mon Dec 05 2011 - 03:13:17 EST


Hi,

On Sun, Dec 04, 2011 at 10:12:29PM +0200, Shimrit Malichi wrote:
> This patch implements the infrastructure for the UAS gadget driver.
> The UAS gadget driver registers as a second configuration of the MS
> gadet driver.
>
> A new module parameter was added to the mass_storage module:
> bool use_uasp. (default = 0)
> If this parameter is set to true, the mass_storage module will register
> with the UAS configuration as the devices first configuration and
> operate according to the UAS protocol.
>
> The number of buffers used by the mass_storage device was increased
> according to the number of supported streams.
>
> It defines the API for COMMAND/TASK MANAGEMENT IU implementation.
>
> Change-Id: I86ec7f23b15e602b0f46934adbf5824472e59a1f
> Signed-off-by: Tatyana Brokhman <tlinder@xxxxxxxxxxxxxx>
> ---
> drivers/usb/gadget/f_mass_storage.c | 26 +-
> drivers/usb/gadget/f_uasp.c | 2393 +++++++++++++++++++++++++++++++++++
> drivers/usb/gadget/f_uasp.h | 430 +++++++
> drivers/usb/gadget/mass_storage.c | 67 +-
> drivers/usb/gadget/storage_common.c | 24 +-
> drivers/usb/gadget/uasp_cmdiu.c | 514 ++++++++
> drivers/usb/gadget/uasp_tmiu.c | 277 ++++
> 7 files changed, 3708 insertions(+), 23 deletions(-)
> create mode 100644 drivers/usb/gadget/f_uasp.c
> create mode 100644 drivers/usb/gadget/f_uasp.h
> create mode 100644 drivers/usb/gadget/uasp_cmdiu.c
> create mode 100644 drivers/usb/gadget/uasp_tmiu.c

I wonder how many times we will have to ask for this to be done on
TARGET FRAMEWORK!!! It's like talking to the walls.

--
balbi

Attachment: signature.asc
Description: Digital signature