aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2006-10-02 15:00:46 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-03 18:28:50 -0400
commit90991c85d398fd46b2b07440b5639eb50dfacb2b (patch)
tree7a6afcf35d293935ce3d3db8cd7553da0ee5268f /drivers/scsi/qla2xxx/qla_init.c
parenta740a3f0407ed3344b28b05926b0ce61768e9893 (diff)
[SCSI] qla2xxx: Add support for fabric name FC transport attribute.
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 270096441f3e..d5d26273c04e 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2280,7 +2280,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2280 loop_id = NPH_F_PORT; 2280 loop_id = NPH_F_PORT;
2281 else 2281 else
2282 loop_id = SNS_FL_PORT; 2282 loop_id = SNS_FL_PORT;
2283 rval = qla2x00_get_port_name(ha, loop_id, NULL, 0); 2283 rval = qla2x00_get_port_name(ha, loop_id, ha->fabric_node_name, 1);
2284 if (rval != QLA_SUCCESS) { 2284 if (rval != QLA_SUCCESS) {
2285 DEBUG2(printk("scsi(%ld): MBC_GET_PORT_NAME Failed, No FL " 2285 DEBUG2(printk("scsi(%ld): MBC_GET_PORT_NAME Failed, No FL "
2286 "Port\n", ha->host_no)); 2286 "Port\n", ha->host_no));
@@ -2288,6 +2288,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2288 ha->device_flags &= ~SWITCH_FOUND; 2288 ha->device_flags &= ~SWITCH_FOUND;
2289 return (QLA_SUCCESS); 2289 return (QLA_SUCCESS);
2290 } 2290 }
2291 ha->device_flags |= SWITCH_FOUND;
2291 2292
2292 /* Mark devices that need re-synchronization. */ 2293 /* Mark devices that need re-synchronization. */
2293 rval2 = qla2x00_device_resync(ha); 2294 rval2 = qla2x00_device_resync(ha);