linux-stable-rt/drivers/usb/storage
Matthew Dharm 86dbde9cbd [PATCH] USB Storage: retry hard errors
This patch started life as as527, and was rediffed by me.

Since the IDE interface doesn't convey much information about types of
errors, many USB-IDE adapters report all low-level errors with SK = 0x04,
which is supposed to be used only for non-recoverable errors.  As a result
the SCSI midlayer doesn't retry the command.  But quite often a retry
would succeed, whereas an unnecessary retry doesn't really hurt anything.

This patch uses a recently-implemented flag to tell the SCSI midlayer that
such hardware errors should be retried.

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>
2005-06-27 14:44:03 -07:00
..
Kconfig
Makefile
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c
freecom.h
initializers.c
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
protocol.c
protocol.h
scsiglue.c [PATCH] USB Storage: retry hard errors 2005-06-27 14:44:03 -07:00
scsiglue.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
transport.c [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
transport.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
unusual_devs.h
usb.c
usb.h