aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 81e8ccacf55b..a581c850ad74 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1964,7 +1964,7 @@ qla24xx_config_rings(struct scsi_qla_host *vha)
1964 WRT_REG_DWORD(&reg->isp24.rsp_q_in, 0); 1964 WRT_REG_DWORD(&reg->isp24.rsp_q_in, 0);
1965 WRT_REG_DWORD(&reg->isp24.rsp_q_out, 0); 1965 WRT_REG_DWORD(&reg->isp24.rsp_q_out, 0);
1966 } 1966 }
1967 qlt_24xx_config_rings(vha, reg); 1967 qlt_24xx_config_rings(vha);
1968 1968
1969 /* PCI posting */ 1969 /* PCI posting */
1970 RD_REG_DWORD(&ioreg->hccr); 1970 RD_REG_DWORD(&ioreg->hccr);
@@ -5579,6 +5579,8 @@ qla81xx_nvram_config(scsi_qla_host_t *vha)
5579 if (IS_T10_PI_CAPABLE(ha)) 5579 if (IS_T10_PI_CAPABLE(ha))
5580 nv->frame_payload_size &= ~7; 5580 nv->frame_payload_size &= ~7;
5581 5581
5582 qlt_81xx_config_nvram_stage1(vha, nv);
5583
5582 /* Reset Initialization control block */ 5584 /* Reset Initialization control block */
5583 memset(icb, 0, ha->init_cb_size); 5585 memset(icb, 0, ha->init_cb_size);
5584 5586
@@ -5619,6 +5621,8 @@ qla81xx_nvram_config(scsi_qla_host_t *vha)
5619 qla2x00_set_model_info(vha, nv->model_name, sizeof(nv->model_name), 5621 qla2x00_set_model_info(vha, nv->model_name, sizeof(nv->model_name),
5620 "QLE8XXX"); 5622 "QLE8XXX");
5621 5623
5624 qlt_81xx_config_nvram_stage2(vha, icb);
5625
5622 /* Use alternate WWN? */ 5626 /* Use alternate WWN? */
5623 if (nv->host_p & __constant_cpu_to_le32(BIT_15)) { 5627 if (nv->host_p & __constant_cpu_to_le32(BIT_15)) {
5624 memcpy(icb->node_name, nv->alternate_node_name, WWN_SIZE); 5628 memcpy(icb->node_name, nv->alternate_node_name, WWN_SIZE);