Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+557 −1272

File changed.

Preview size limit exceeded, changes collapsed.

+3 −1
Original line number Diff line number Diff line
@@ -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. */