patch-1.3.91 linux/drivers/scsi/scsi.h
Next file: linux/drivers/scsi/scsi_syms.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Wed Apr 17 09:01:19 1996
- Orig file:
v1.3.90/linux/drivers/scsi/scsi.h
- Orig date:
Wed Apr 17 09:06:32 1996
diff -u --recursive --new-file v1.3.90/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -317,13 +317,18 @@
#define SCSI_RESET_SYNCHRONOUS 0x01
#define SCSI_RESET_ASYNCHRONOUS 0x02
#define SCSI_RESET_SUGGEST_BUS_RESET 0x04
-
+#define SCSI_RESET_SUGGEST_HOST_RESET 0x08
/*
* This is a bitmask that is ored with one of the above codes.
* It tells the mid-level code that we did a hard reset.
*/
#define SCSI_RESET_BUS_RESET 0x100
/*
+ * This is a bitmask that is ored with one of the above codes.
+ * It tells the mid-level code that we did a host adapter reset.
+ */
+#define SCSI_RESET_HOST_RESET 0x200
+/*
* Used to mask off bits and to obtain the basic action that was
* performed.
*/
@@ -477,7 +482,8 @@
extern void print_driverbyte(int scsiresult);
extern void print_hostbyte(int scsiresult);
-extern void scsi_mark_host_bus_reset(struct Scsi_Host *Host);
+extern void scsi_mark_host_reset(struct Scsi_Host *Host);
+extern void scsi_mark_bus_reset(struct Scsi_Host *Host, int channel);
#if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR)
#include "hosts.h"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this