usb-storage: SCSI level fixes
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 8 Jan 2007 21:18:05 +0000 (16:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:35 +0000 (15:44 -0800)
commitf3f4906516a084bbd9aa3da7592e6b029fe78f5b
tree129dbc126c9728c55c90159d3038adf7db9ccd11
parent85a975d0ce48dfa8dec5bf1bd970f8fd2c48af32
usb-storage: SCSI level fixes

This patch (as835) removes from usb-storage the code which sets all
devices to a SCSI level of at least SCSI-2.  The original reasons for
doing this no longer apply, and in fact it prevents certain kinds of
ATA pass-thru commands from being used.

The patch also marks CB and CBI devices that are SCSI-0 (legacy SCSI)
as being single-LUN, since the combined SCSI-over-USB transport
protocol has no way to convey LUN information to these devices.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/scsiglue.c