aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index 96d4f745975c..d30d7f4e63ec 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -13,17 +13,6 @@ struct Scsi_Host;
13 13
14 14
15/* 15/*
16 * These are the values that the owner field can take.
17 * They are used as an indication of who the command belongs to.
18 */
19#define SCSI_OWNER_HIGHLEVEL 0x100
20#define SCSI_OWNER_MIDLEVEL 0x101
21#define SCSI_OWNER_LOWLEVEL 0x102
22#define SCSI_OWNER_ERROR_HANDLER 0x103
23#define SCSI_OWNER_BH_HANDLER 0x104
24#define SCSI_OWNER_NOBODY 0x105
25
26/*
27 * Magic values for certain scsi structs. Shouldn't ever be used. 16 * Magic values for certain scsi structs. Shouldn't ever be used.
28 */ 17 */
29#define SCSI_CMND_MAGIC 0xE25C23A5 18#define SCSI_CMND_MAGIC 0xE25C23A5
@@ -32,15 +21,6 @@ struct Scsi_Host;
32/* 21/*
33 * Scsi Error Handler Flags 22 * Scsi Error Handler Flags
34 */ 23 */
35#define scsi_eh_eflags_chk(scp, flags) \
36 ((scp)->eh_eflags & (flags))
37#define scsi_eh_eflags_set(scp, flags) \
38 do { (scp)->eh_eflags |= (flags); } while(0)
39#define scsi_eh_eflags_clr(scp, flags) \
40 do { (scp)->eh_eflags &= ~(flags); } while(0)
41#define scsi_eh_eflags_clr_all(scp) \
42 (scp->eh_eflags = 0)
43
44#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */ 24#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */
45#define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */ 25#define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */
46 26