summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_fw.h
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2011-08-12 02:51:29 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 08:36:49 -0600
commit95d31262b3c1ba5b945a6e7b4f679532db622a27 (patch)
tree64ddf13fcc03fa3e78e0efed731e7533ecb5c092 /drivers/scsi/qla4xxx/ql4_fw.h
parent2944369144548432f3a5ffce7a2926bfb4ce4f0a (diff)
downloadlwn-95d31262b3c1ba5b945a6e7b4f679532db622a27.tar.gz
lwn-95d31262b3c1ba5b945a6e7b4f679532db622a27.zip
[SCSI] qla4xxx: Added support for adapter and firmware reset
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_fw.h')
-rw-r--r--drivers/scsi/qla4xxx/ql4_fw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/drivers/scsi/qla4xxx/ql4_fw.h
index 581ff7e4621c..0e24c7ad7e1c 100644
--- a/drivers/scsi/qla4xxx/ql4_fw.h
+++ b/drivers/scsi/qla4xxx/ql4_fw.h
@@ -605,6 +605,9 @@ struct init_fw_ctrl_blk {
/* struct addr_ctrl_blk sec;*/
};
+#define PRIMARI_ACB 0
+#define SECONDARY_ACB 1
+
struct addr_ctrl_blk_def {
uint8_t reserved1[1]; /* 00 */
uint8_t control; /* 01 */