[PATCH] USB Storage: port reset on transport error
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Tue, 7 Jun 2005 00:21:41 +0000 (17:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:44:03 +0000 (14:44 -0700)
commit4d07ef762fc8d6d35ecc1511a3b953a733a61a5f
tree9ea2bbce922ed74bcef3d26dd1843afaf6f7a877
parent5203ad441310a4c2abd4fb79015a6bdadc2a5a4f
[PATCH] USB Storage: port reset on transport error

This patch causes a port reset whenever there's a transport error or abort.
If that fails it reverts back to doing a mass-storage device reset.  It
started life as as497 and was rediffed by me.

This makes error recovery a lot quicker and more reliable.

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
drivers/usb/storage/scsiglue.h
drivers/usb/storage/transport.c
drivers/usb/storage/transport.h