diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:30:36 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 10:55:08 -0400 |
commit | 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 (patch) | |
tree | d7065f9968681cb9052bbe700d6f6bcebe19e2f1 /drivers/scsi/qla2xxx/qla_dbg.h | |
parent | 3d71644cf952fd1157a13173237258422ba3c569 (diff) |
[SCSI] qla2xxx: Add ISP24xx diagnostic routines.
Add ISP24xx diagnostic routines.
Add function and structure definitions for the ISP24xx
diagnostic firmware dump routines.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dbg.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.h b/drivers/scsi/qla2xxx/qla_dbg.h index d7f56c761418..eaa0f0f0851a 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.h +++ b/drivers/scsi/qla2xxx/qla_dbg.h | |||
@@ -230,4 +230,36 @@ struct qla2100_fw_dump { | |||
230 | uint16_t risc_ram[0xf000]; | 230 | uint16_t risc_ram[0xf000]; |
231 | }; | 231 | }; |
232 | 232 | ||
233 | #define FW_DUMP_SIZE_24XX 0x2B0000 | ||
233 | 234 | ||
235 | struct qla24xx_fw_dump { | ||
236 | uint32_t hccr; | ||
237 | uint32_t host_reg[32]; | ||
238 | uint16_t mailbox_reg[32]; | ||
239 | uint32_t xseq_gp_reg[128]; | ||
240 | uint32_t xseq_0_reg[16]; | ||
241 | uint32_t xseq_1_reg[16]; | ||
242 | uint32_t rseq_gp_reg[128]; | ||
243 | uint32_t rseq_0_reg[16]; | ||
244 | uint32_t rseq_1_reg[16]; | ||
245 | uint32_t rseq_2_reg[16]; | ||
246 | uint32_t cmd_dma_reg[16]; | ||
247 | uint32_t req0_dma_reg[15]; | ||
248 | uint32_t resp0_dma_reg[15]; | ||
249 | uint32_t req1_dma_reg[15]; | ||
250 | uint32_t xmt0_dma_reg[32]; | ||
251 | uint32_t xmt1_dma_reg[32]; | ||
252 | uint32_t xmt2_dma_reg[32]; | ||
253 | uint32_t xmt3_dma_reg[32]; | ||
254 | uint32_t xmt4_dma_reg[32]; | ||
255 | uint32_t xmt_data_dma_reg[16]; | ||
256 | uint32_t rcvt0_data_dma_reg[32]; | ||
257 | uint32_t rcvt1_data_dma_reg[32]; | ||
258 | uint32_t risc_gp_reg[128]; | ||
259 | uint32_t shadow_reg[7]; | ||
260 | uint32_t lmc_reg[112]; | ||
261 | uint32_t fpm_hdw_reg[192]; | ||
262 | uint32_t fb_hdw_reg[176]; | ||
263 | uint32_t code_ram[0x2000]; | ||
264 | uint32_t ext_mem[1]; | ||
265 | }; | ||