]> git.baikalelectronics.ru Git - kernel.git/commit
usb-storage: support for more than 8 LUNs
authorOliver Neukum <oneukum@suse.de>
Tue, 10 Feb 2015 08:27:59 +0000 (09:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Feb 2015 16:38:46 +0000 (08:38 -0800)
commitb8815e7e031363c5416d7b0fd4d82fc573a341bd
treefe2c4f70187dae976af85d058732fd71f8c1e06a
parente4b1860f4d86c7913013174713dd5289ec0710ba
usb-storage: support for more than 8 LUNs

This is necessary to make some storage arrays work.

Some storage devices have more than 8 LUNs. In addition
you can hook up a WideSCSI bus to USB. In these cases even
level 2 devices can have more than 8 LUNs. For them
it is necessary to simply believe the class specific
command and report its result back to the SCSI layer.

Off by one Alan noticed is fixed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c