Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328847
b: refs/heads/master
c: 711aa7f
h: refs/heads/master
i:
  328845: 10665f7
  328843: 190ab4a
  328839: 5171e90
  328831: 5ef327b
v: v3
  • Loading branch information
Saurav Kashyap authored and James Bottomley committed Sep 24, 2012
1 parent d35fcad commit 89bd47f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d55ca66003415fc7417921e1e42b9978225c5b5
refs/heads/master: 711aa7f722821405125b2a3c6a3e6a3f275952bd
8 changes: 8 additions & 0 deletions trunk/drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ qla83xx_nic_core_fw_load(scsi_qla_host_t *vha)
int rval = QLA_SUCCESS;
struct qla_hw_data *ha = vha->hw;
uint32_t idc_major_ver, idc_minor_ver;
uint16_t config[4];

qla83xx_idc_lock(vha, 0);

Expand Down Expand Up @@ -486,6 +487,13 @@ qla83xx_nic_core_fw_load(scsi_qla_host_t *vha)
idc_minor_ver |= (QLA83XX_SUPP_IDC_MINOR_VERSION << (ha->portnum * 2));
qla83xx_wr_reg(vha, QLA83XX_IDC_MINOR_VERSION, idc_minor_ver);

if (ha->flags.nic_core_reset_owner) {
memset(config, 0, sizeof(config));
if (!qla81xx_get_port_config(vha, config))
qla83xx_wr_reg(vha, QLA83XX_IDC_DEV_STATE,
QLA8XXX_DEV_READY);
}

rval = qla83xx_idc_state_handler(vha);

exit:
Expand Down

0 comments on commit 89bd47f

Please sign in to comment.