Skip to content

Commit

Permalink
[SCSI] qla2xxx: Stop firmware before doing init firmware.
Browse files Browse the repository at this point in the history
If BIOS is enabled then drivers init firmware fails since
BIOS has done the init once.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Andrew Vasquez authored and James Bottomley committed Jul 28, 2010
1 parent 03c3f56 commit 14e303d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,9 +1402,10 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)

if (IS_QLA82XX(ha)) {
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;
else
} else
goto failed;
}

Expand Down

0 comments on commit 14e303d

Please sign in to comment.