diff options
author | Hiral Patel <hiral.patel@qlogic.com> | 2014-04-11 16:54:21 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 07:31:01 -0400 |
commit | 61f098dde16c6b535124d3acc8851bacd3d7e0d4 (patch) | |
tree | 1114b2c512e20ee761004db2055e55705b98f1a1 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 2f389fc47281dc5f0cfed1306ed22eba51bcc980 (diff) |
qla2xxx: Introduce fw_dump_flag to track fw dump progress.
Signed-off-by: Hiral Patel <hiral.patel@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 23268277f09c..dd9b7fe08962 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -3147,6 +3147,13 @@ struct qla_hw_data { | |||
3147 | struct qla2xxx_fw_dump *fw_dump; | 3147 | struct qla2xxx_fw_dump *fw_dump; |
3148 | uint32_t fw_dump_len; | 3148 | uint32_t fw_dump_len; |
3149 | int fw_dumped; | 3149 | int fw_dumped; |
3150 | unsigned long fw_dump_cap_flags; | ||
3151 | #define RISC_PAUSE_CMPL 0 | ||
3152 | #define DMA_SHUTDOWN_CMPL 1 | ||
3153 | #define ISP_RESET_CMPL 2 | ||
3154 | #define RISC_RDY_AFT_RESET 3 | ||
3155 | #define RISC_SRAM_DUMP_CMPL 4 | ||
3156 | #define RISC_EXT_MEM_DUMP_CMPL 5 | ||
3150 | int fw_dump_reading; | 3157 | int fw_dump_reading; |
3151 | int prev_minidump_failed; | 3158 | int prev_minidump_failed; |
3152 | dma_addr_t eft_dma; | 3159 | dma_addr_t eft_dma; |