Skip to content

Commit 115bb1f

Browse files
Matthew Wilcoxgregkh
authored andcommitted
USB: Add UAS driver
USB Attached SCSI is a new protocol specified jointly by the SCSI T10 committee and the USB Implementors Forum. Signed-off-by: Matthew Wilcox <[email protected]> Cc: Matthew Dharm <[email protected]> [[email protected]: updated to use new USB_ prefix] Signed-off-by: Michal Nazarewicz <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ae6d22f commit 115bb1f

File tree

4 files changed

+773
-0
lines changed

4 files changed

+773
-0
lines changed

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,6 +5934,14 @@ S: Maintained
59345934
F: Documentation/usb/acm.txt
59355935
F: drivers/usb/class/cdc-acm.*
59365936

5937+
USB ATTACHED SCSI
5938+
M: Matthew Wilcox <[email protected]>
5939+
M: Sarah Sharp <[email protected]>
5940+
5941+
5942+
S: Supported
5943+
F: drivers/usb/storage/uas.c
5944+
59375945
USB BLOCK DRIVER (UB ub)
59385946
M: Pete Zaitcev <[email protected]>
59395947

drivers/usb/storage/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,19 @@ config USB_STORAGE_CYPRESS_ATACB
172172

173173
If this driver is compiled as a module, it will be named ums-cypress.
174174

175+
config USB_UAS
176+
tristate "USB Attached SCSI"
177+
depends on USB && SCSI
178+
help
179+
The USB Attached SCSI protocol is supported by some USB
180+
storage devices. It permits higher performance by supporting
181+
multiple outstanding commands.
182+
183+
If you don't know whether you have a UAS device, it is safe to
184+
say 'Y' or 'M' here and the kernel will use the right driver.
185+
186+
If you compile this driver as a module, it will be named uas.
187+
175188
config USB_LIBUSUAL
176189
bool "The shared table of common (or usual) storage devices"
177190
depends on USB

drivers/usb/storage/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
EXTRA_CFLAGS := -Idrivers/scsi
99

10+
obj-$(CONFIG_USB_UAS) += uas.o
1011
obj-$(CONFIG_USB_STORAGE) += usb-storage.o
1112

1213
usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o

0 commit comments

Comments
 (0)