Browse Source

[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: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Andrew Vasquez 18 years ago
parent
commit
c81d04c9e2
2 changed files with 328 additions and 627 deletions
  1. 325 626
      drivers/scsi/qla2xxx/qla_dbg.c
  2. 3 1
      drivers/scsi/qla2xxx/qla_def.h

File diff suppressed because it is too large
+ 325 - 626
drivers/scsi/qla2xxx/qla_dbg.c


+ 3 - 1
drivers/scsi/qla2xxx/qla_def.h

@@ -316,7 +316,9 @@ struct device_reg_2xxx {
 	} u;
 
 	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 unused_6[0x5];		/* Gap */
 	uint16_t mctr;			/* Memory Configuration and Timing. */

Some files were not shown because too many files changed in this diff