aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2012-05-01 12:42:51 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-05-10 04:14:29 -0400
commit75167d2cc7654f57b90497fe90b1f0ae946c22a6 (patch)
treee882cc25860896d37f5ae4b982c1333fa7bc38ac /drivers/scsi/hpsa.h
parent5a3d16f51ef62bf17c9752c469db881dd12bce9b (diff)
[SCSI] hpsa: add abort error handler function
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 48f78123d1e6..d8aa95c43f4d 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -125,6 +125,27 @@ struct ctlr_info {
125 u64 last_heartbeat_timestamp; 125 u64 last_heartbeat_timestamp;
126 u32 lockup_detected; 126 u32 lockup_detected;
127 struct list_head lockup_list; 127 struct list_head lockup_list;
128 u32 TMFSupportFlags; /* cache what task mgmt funcs are supported. */
129#define HPSATMF_BITS_SUPPORTED (1 << 0)
130#define HPSATMF_PHYS_LUN_RESET (1 << 1)
131#define HPSATMF_PHYS_NEX_RESET (1 << 2)
132#define HPSATMF_PHYS_TASK_ABORT (1 << 3)
133#define HPSATMF_PHYS_TSET_ABORT (1 << 4)
134#define HPSATMF_PHYS_CLEAR_ACA (1 << 5)
135#define HPSATMF_PHYS_CLEAR_TSET (1 << 6)
136#define HPSATMF_PHYS_QRY_TASK (1 << 7)
137#define HPSATMF_PHYS_QRY_TSET (1 << 8)
138#define HPSATMF_PHYS_QRY_ASYNC (1 << 9)
139#define HPSATMF_MASK_SUPPORTED (1 << 16)
140#define HPSATMF_LOG_LUN_RESET (1 << 17)
141#define HPSATMF_LOG_NEX_RESET (1 << 18)
142#define HPSATMF_LOG_TASK_ABORT (1 << 19)
143#define HPSATMF_LOG_TSET_ABORT (1 << 20)
144#define HPSATMF_LOG_CLEAR_ACA (1 << 21)
145#define HPSATMF_LOG_CLEAR_TSET (1 << 22)
146#define HPSATMF_LOG_QRY_TASK (1 << 23)
147#define HPSATMF_LOG_QRY_TSET (1 << 24)
148#define HPSATMF_LOG_QRY_ASYNC (1 << 25)
128}; 149};
129#define HPSA_ABORT_MSG 0 150#define HPSA_ABORT_MSG 0
130#define HPSA_DEVICE_RESET_MSG 1 151#define HPSA_DEVICE_RESET_MSG 1