kernel_optimize_test/drivers/usb/storage
Paul Walmsley 28120be5d6 [PATCH] USB Storage: Force starget->scsi_level in usb-storage scsiglue.c
When the usb-storage module forces sdev->scsi_level to SCSI_2, it should
also force starget->scsi_level to the same value.  Otherwise, the SCSI
layer may attempt to issue SCSI-3 commands to the device, such as REPORT
LUNS, which it cannot handle.  This can prevent the device from working
with Linux.

The AMS Venus DS3 DS2316SU2S SATA-to-SATA+USB enclosure, based on the
Oxford Semiconductor OXU921S chip, requires this patch to function
correctly on Linux.  The enclosure reports a SCSI-3 SPC-2 command set
level, but does not correctly handle the REPORT LUNS SCSI command -
probably due to a bug in its firmware.

It seems likely that other USB storage enclosures with similar bugs will
also benefit from this patch.

Tony Lindgren <tony@atomide.com> collaborated in the development of this
patch.

Signed-off-by: Paul Walmsley <paul@booyaka.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-21 14:46:34 -08:00
..
datafab.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
datafab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c [PATCH] USB Storage: fix compile error 2005-05-03 23:31:49 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initializers.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initializers.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isd200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isd200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] USB: onetouch doesn't suspend yet 2005-11-17 11:29:54 -08:00
Makefile [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
onetouch.c [PATCH] Input: convert onetouch to dynamic input_dev allocation 2005-10-28 09:52:53 -07:00
onetouch.h [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
protocol.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
protocol.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsiglue.c [PATCH] USB Storage: Force starget->scsi_level in usb-storage scsiglue.c 2005-12-21 14:46:34 -08:00
scsiglue.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
sddr09.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sddr09.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sddr55.c [PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL 2005-04-18 17:39:34 -07:00
sddr55.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shuttle_usbat.c [PATCH] usb-storage: Fix detection of kodak flash readers in shuttle_usbat driver 2005-11-17 11:29:54 -08:00
shuttle_usbat.h [PATCH] usb-storage: Some minor shuttle_usbat cleanups 2005-10-28 16:47:43 -07:00
transport.c [PATCH] PATCH: usb-storage: allocate separate sense buffer 2005-10-28 16:47:50 -07:00
transport.h [PATCH] usb-storage: Some minor shuttle_usbat cleanups 2005-10-28 16:47:43 -07:00
unusual_devs.h [PATCH] USB: fix USB key generates ioctl_internal_command errors issue 2005-11-23 23:04:28 -08:00
usb.c [PATCH] PATCH: usb-storage: use kthread API 2005-10-28 16:47:50 -07:00
usb.h [PATCH] PATCH: usb-storage: use kthread API 2005-10-28 16:47:50 -07:00