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

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

[SCSI] qla2xxx: Use generic isp_ops.fw_dump() function.



Rather than a direct call, as was done in the case of a
RISC-paused state within the ISP24xx interrupt handler.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 07f31805
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1444,8 +1444,7 @@ qla24xx_intr_handler(int irq, void *dev_id)


			qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, "
			qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, "
			    "Dumping firmware!\n", hccr);
			    "Dumping firmware!\n", hccr);
			qla24xx_fw_dump(ha, 1);
			ha->isp_ops.fw_dump(ha, 1);

			set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
			set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
			break;
			break;
		} else if ((stat & HSRX_RISC_INT) == 0)
		} else if ((stat & HSRX_RISC_INT) == 0)