summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/scsiglue.h
diff options
context:
space:
mode:
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>2005-06-06 17:21:41 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 14:44:03 -0700
commit4d07ef762fc8d6d35ecc1511a3b953a733a61a5f (patch)
tree9ea2bbce922ed74bcef3d26dd1843afaf6f7a877 /drivers/usb/storage/scsiglue.h
parent5203ad441310a4c2abd4fb79015a6bdadc2a5a4f (diff)
[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>
Diffstat (limited to 'drivers/usb/storage/scsiglue.h')
-rw-r--r--drivers/usb/storage/scsiglue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/scsiglue.h b/drivers/usb/storage/scsiglue.h
index d0a49af026c4..737e4fa6045f 100644
--- a/drivers/usb/storage/scsiglue.h
+++ b/drivers/usb/storage/scsiglue.h
@@ -42,6 +42,7 @@
#define _SCSIGLUE_H_
extern void usb_stor_report_device_reset(struct us_data *us);
+extern void usb_stor_report_bus_reset(struct us_data *us);
extern unsigned char usb_stor_sense_invalidCDB[18];
extern struct scsi_host_template usb_stor_host_template;