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.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 9e3eaac25596..b74924b279ef 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -277,7 +277,6 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha)
277 vha->marker_needed = 0; 277 vha->marker_needed = 0;
278 ha->isp_abort_cnt = 0; 278 ha->isp_abort_cnt = 0;
279 ha->beacon_blink_led = 0; 279 ha->beacon_blink_led = 0;
280 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags);
281 280
282 set_bit(0, ha->req_qid_map); 281 set_bit(0, ha->req_qid_map);
283 set_bit(0, ha->rsp_qid_map); 282 set_bit(0, ha->rsp_qid_map);
@@ -1203,7 +1202,7 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
1203 } 1202 }
1204 qla2x00_get_resource_cnts(vha, NULL, 1203 qla2x00_get_resource_cnts(vha, NULL,
1205 &ha->fw_xcb_count, NULL, NULL, 1204 &ha->fw_xcb_count, NULL, NULL,
1206 &ha->max_npiv_vports); 1205 &ha->max_npiv_vports, NULL);
1207 1206
1208 if (!fw_major_version && ql2xallocfwdump) 1207 if (!fw_major_version && ql2xallocfwdump)
1209 qla2x00_alloc_fw_dump(vha); 1208 qla2x00_alloc_fw_dump(vha);
@@ -3573,6 +3572,15 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
3573 ha->isp_abort_cnt = 0; 3572 ha->isp_abort_cnt = 0;
3574 clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags); 3573 clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags);
3575 3574
3575 if (IS_QLA81XX(ha))
3576 qla2x00_get_fw_version(vha,
3577 &ha->fw_major_version,
3578 &ha->fw_minor_version,
3579 &ha->fw_subminor_version,
3580 &ha->fw_attributes, &ha->fw_memory_size,
3581 ha->mpi_version, &ha->mpi_capabilities,
3582 ha->phy_version);
3583
3576 if (ha->fce) { 3584 if (ha->fce) {
3577 ha->flags.fce_enabled = 1; 3585 ha->flags.fce_enabled = 1;
3578 memset(ha->fce, 0, 3586 memset(ha->fce, 0,