Mailing List Archive

[GIT PULL] usb-gadget target merge for 3.5-rc1
Hi Linus,

As promised, here is the pull request for Sebastian's usb-gadget target
UASP / BOT driver for v3.5-rc1. This code has been in linux-next for a
number of weeks, and is now ready for an initial merge.

Please pull from:

git:// usb-target-merge

This fabric uses the target framework to provide a usb gadget
device. This gadget supports the USB Attached SCSI Protocol (UASP)
and Bulk Only Transfers (BOT or BBB). BOT is the primary interface,
UAS is the alternative interface.

Note this series is dependent upon a single target core patch for adding
se_cmd->unknown_data_length in target-pending/for-next, that went out in
the first pull request yesterday:

[GIT PULL] target for-next v3.5-rc1 updates + new drivers merge status

Kudos to Sebastian for making this driver happen so easily, and for his
patches to improve usb-core and target core along the way to his goal.
Also thanks to Felipe + Greg-KH for their help in getting this driver
ready for mainline.



Signed-off-by: Sebastian Andrzej Siewior <>
Acked-by: Felipe Balbi <>
Cc: Alan Stern <>
Cc: Christoph Hellwig <>
Cc: Greg KH <>
Signed-off-by: Nicholas Bellinger <>

Sebastian Andrzej Siewior (1):
usb-gadget: Initial merge of target module for UASP + BOT

drivers/usb/gadget/Kconfig | 10 +
drivers/usb/gadget/Makefile | 2 +
drivers/usb/gadget/tcm_usb_gadget.c | 2480 +++++++++++++++++++++++++++++++++++
drivers/usb/gadget/tcm_usb_gadget.h | 146 ++
4 files changed, 2638 insertions(+), 0 deletions(-)
create mode 100644 drivers/usb/gadget/tcm_usb_gadget.c
create mode 100644 drivers/usb/gadget/tcm_usb_gadget.h

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at