[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: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
eeebcc9223
commit
e8233ca40b
|
@ -730,9 +730,6 @@ qla24xx_chip_diag(scsi_qla_host_t *vha)
|
||||||
struct qla_hw_data *ha = vha->hw;
|
struct qla_hw_data *ha = vha->hw;
|
||||||
struct req_que *req = ha->req_q_map[0];
|
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;
|
ha->fw_transfer_size = REQUEST_ENTRY_SIZE * req->length;
|
||||||
|
|
||||||
rval = qla2x00_mbx_reg_test(vha);
|
rval = qla2x00_mbx_reg_test(vha);
|
||||||
|
|
Loading…
Reference in New Issue