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

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

[SCSI] qla2xxx: Avoid redundant RISC reset during (re)-initialization.



ISP24xx and above ISPs perform a RISC reset in
qla24xx_reset_chip(), which is called prior to
qla24xx_chip_diag().

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent eeebcc92
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -730,9 +730,6 @@ qla24xx_chip_diag(scsi_qla_host_t *vha)
	struct qla_hw_data *ha = vha->hw;
	struct req_que *req = ha->req_q_map[0];

	/* Perform RISC reset. */
	qla24xx_reset_risc(vha);

	ha->fw_transfer_size = REQUEST_ENTRY_SIZE * req->length;

	rval = qla2x00_mbx_reg_test(vha);