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, 6 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 09b23f70fd66..e38d0cf73637 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -88,6 +88,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *ha)
88 ha->mbx_flags = 0; 88 ha->mbx_flags = 0;
89 ha->isp_abort_cnt = 0; 89 ha->isp_abort_cnt = 0;
90 ha->beacon_blink_led = 0; 90 ha->beacon_blink_led = 0;
91 set_bit(REGISTER_FDMI_NEEDED, &ha->dpc_flags);
91 92
92 qla_printk(KERN_INFO, ha, "Configuring PCI space...\n"); 93 qla_printk(KERN_INFO, ha, "Configuring PCI space...\n");
93 rval = ha->isp_ops.pci_config(ha); 94 rval = ha->isp_ops.pci_config(ha);
@@ -2132,6 +2133,11 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2132 return (QLA_SUCCESS); 2133 return (QLA_SUCCESS);
2133 } 2134 }
2134 do { 2135 do {
2136 /* FDMI support. */
2137 if (ql2xfdmienable &&
2138 test_and_clear_bit(REGISTER_FDMI_NEEDED, &ha->dpc_flags))
2139 qla2x00_fdmi_register(ha);
2140
2135 /* Ensure we are logged into the SNS. */ 2141 /* Ensure we are logged into the SNS. */
2136 if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) 2142 if (IS_QLA24XX(ha) || IS_QLA25XX(ha))
2137 loop_id = NPH_SNS; 2143 loop_id = NPH_SNS;