Commit c81d04c9 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[SCSI] qla2xxx: Collapse and simplify ISP2XXX firmware dump routines.

Add IO-base-window accessor functions.  Merge duplicate
RISC-pause and soft-reset code segments.  Drop 'eye-watering'
__iomem casting.
Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 7f9a6bc4
This diff is collapsed.
...@@ -316,7 +316,9 @@ struct device_reg_2xxx { ...@@ -316,7 +316,9 @@ struct device_reg_2xxx {
} u; } u;
uint16_t fpm_diag_config; uint16_t fpm_diag_config;
uint16_t unused_5[0x6]; /* Gap */ uint16_t unused_5[0x4]; /* Gap */
uint16_t risc_hw;
uint16_t unused_5_1; /* Gap */
uint16_t pcr; /* Processor Control Register. */ uint16_t pcr; /* Processor Control Register. */
uint16_t unused_6[0x5]; /* Gap */ uint16_t unused_6[0x5]; /* Gap */
uint16_t mctr; /* Memory Configuration and Timing. */ uint16_t mctr; /* Memory Configuration and Timing. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment