UASP: USB Attached SCSI (UAS) protocol driver
Subsystems (2)
PATCH 1/1 UASP: USB Attached SCSI (UAS) protocol driver
This driver allows you to connect to UAS devices
and use them as SCSI devices.
---
* The name "uas" was taken, so I used "uasp".
* The idea is to have this in Greg's tree, everyone submits patches to this CC list, it gets ACKed and goes right into Greg's tree.
* Before submitting patches, please test _both_ High-Speed and SuperSpeed mode.
* Vendors whose solution is still in development wanting to utilize this driver, can use dynamic ids to test their implementation, although there is no reason to not have the correct descriptors.
* Vendors: I don't know /when/ this will make it into the kernel. CC this thread when asking.
drivers/usb/storage/Kconfig | 19 + drivers/usb/storage/Makefile | 5 + drivers/usb/storage/uasp.c | 1117 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1141 insertions(+), 0 deletions(-) create mode 100644 drivers/usb/storage/uasp.c
drivers/usb/storage/Kconfig +19 -0
@@ -195,6 +195,25 @@ config USB_UAS_DEBUG If unsure, say 'N'. +config USB_UASP + tristate "USB Attached SCSI (UAS) protocol driver (uasp)" + depends on USB && SCSI + help + USB Attached SCSI (UAS) protocol driver. This driver allows you + to connect to UAS devices and use them as SCSI devices. + + If unusure say 'Y' or 'M'. + + If compiled as a module, this driver will be named uasp. + +config USB_UASP_DEBUG + bool "Compile the uasp driver in debug mode" + depends on USB_UASP + help + Compiles the uasp driver in debug mode. + + If unsure say 'N'. + config USB_LIBUSUAL bool "The shared table of common (or usual) storage devices" depends on USB
drivers/usb/storage/Makefile +5 -0
@@ -8,12 +8,17 @@ ccflags-y := -Idrivers/scsi obj-$(CONFIG_USB_UAS) += uas.o +obj-$(CONFIG_USB_UASP) += uasp.o obj-$(CONFIG_USB_STORAGE) += usb-storage.o ifeq ($(CONFIG_USB_UAS_DEBUG),y) EXTRA_CFLAGS += -DUAS_DEBUG endif +ifeq ($(CONFIG_USB_UASP_DEBUG),y) + EXTRA_CFLAGS += -DUASP_DEBUG +endif + usb-storage-y := scsiglue.o protocol.o transport.o usb.o usb-storage-y += initializers.o sierra_ms.o option_ms.o
drivers/usb/storage/uasp.c new file +1117 -0
1,117 lines not on this page · raw message
Signature · 1 line
1.7.2.2.165.gbc382
Quoted 2 lines · Luben Tuikov
This driver allows you to connect to UAS devices
and use them as SCSI devices.
We already have this support in the kernel tree, why do you want and need another driver that does the same exact thing?
thanks,
greg k-h