File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1532,6 +1532,12 @@ qla2x00_nvram_config(scsi_qla_host_t *ha)
1532
1532
while (cnt -- )
1533
1533
* dptr1 ++ = * dptr2 ++ ;
1534
1534
1535
+ /* Use alternate WWN? */
1536
+ if (nv -> host_p [1 ] & BIT_7 ) {
1537
+ memcpy (icb -> node_name , nv -> alternate_node_name , WWN_SIZE );
1538
+ memcpy (icb -> port_name , nv -> alternate_port_name , WWN_SIZE );
1539
+ }
1540
+
1535
1541
/* Prepare nodename */
1536
1542
if ((icb -> firmware_options [1 ] & BIT_6 ) == 0 ) {
1537
1543
/*
@@ -3370,6 +3376,12 @@ qla24xx_nvram_config(scsi_qla_host_t *ha)
3370
3376
} else
3371
3377
strcpy (ha -> model_number , "QLA2462" );
3372
3378
3379
+ /* Use alternate WWN? */
3380
+ if (nv -> host_p & __constant_cpu_to_le32 (BIT_15 )) {
3381
+ memcpy (icb -> node_name , nv -> alternate_node_name , WWN_SIZE );
3382
+ memcpy (icb -> port_name , nv -> alternate_port_name , WWN_SIZE );
3383
+ }
3384
+
3373
3385
/* Prepare nodename */
3374
3386
if ((icb -> firmware_options_1 & __constant_cpu_to_le32 (BIT_14 )) == 0 ) {
3375
3387
/*
You can’t perform that action at this time.
0 commit comments