aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-08-26 22:08:30 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-04 20:53:07 -0400
commitcca5335caf2d19ef8bd6b833445d2c6ca652a89b (patch)
tree74bb0b787d9feb1499ed2eafb2aa5a4317b6d3b5 /drivers/scsi/qla2xxx/qla_init.c
parentad3e0edaceb9771be7ffbd7aa24fb444a7ed85bf (diff)
[SCSI] qla2xxx: Add FDMI support.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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;