Re: [RFC/PATCH v3 2/5] uas: MS UAS Gadget driver - Infrastructure

From: Alan Stern
Date: Thu Apr 14 2011 - 13:31:43 EST


On Thu, 14 Apr 2011, Tatyana Brokhman 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.

As I understand it, drives typically have only one configuration and
one interface. They implement Bulk-Only Transport on altsetting 0 and
UAS on altsetting 1.

On the other hand, I don't think there's anything that says you _have_
to do it that way...

Alan Stern

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