Commit 14e303d9 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[SCSI] qla2xxx: Stop firmware before doing init firmware.

If BIOS is enabled then drivers init firmware fails since
BIOS has done the init once.
Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 03c3f563
...@@ -1402,9 +1402,10 @@ qla2x00_setup_chip(scsi_qla_host_t *vha) ...@@ -1402,9 +1402,10 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
if (IS_QLA82XX(ha)) { if (IS_QLA82XX(ha)) {
rval = ha->isp_ops->load_risc(vha, &srisc_address); rval = ha->isp_ops->load_risc(vha, &srisc_address);
if (rval == QLA_SUCCESS) if (rval == QLA_SUCCESS) {
qla2x00_stop_firmware(vha);
goto enable_82xx_npiv; goto enable_82xx_npiv;
else } else
goto failed; goto failed;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment