patch-2.4.19 linux-2.4.19/drivers/scsi/scsi.h

Next file: linux-2.4.19/drivers/scsi/scsi_debug.c
Previous file: linux-2.4.19/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/scsi/scsi.h linux-2.4.19/drivers/scsi/scsi.h
@@ -849,6 +849,16 @@
 	current->state = TASK_RUNNING;	\
     }; }
 
+/*
+ * old style reset request from external source
+ * (private to sg.c and scsi_error.c, supplied by scsi_obsolete.c)
+ */
+#define SCSI_TRY_RESET_DEVICE	1
+#define SCSI_TRY_RESET_BUS	2
+#define SCSI_TRY_RESET_HOST	3
+
+extern int scsi_reset_provider(Scsi_Device *, int);
+
 #endif
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)