projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: lpfc: Fix default driver parameter collision for allowing NPIV support
[linux-2.6-microblaze.git]
/
drivers
/
scsi
/
lpfc
/
lpfc_init.c
diff --git
a/drivers/scsi/lpfc/lpfc_init.c
b/drivers/scsi/lpfc/lpfc_init.c
index
1188354
..
563b600
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_init.c
+++ b/
drivers/scsi/lpfc/lpfc_init.c
@@
-4290,6
+4290,9
@@
lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev)
vport->fc_rscn_flush = 0;
lpfc_get_vport_cfgparam(vport);
+ /* Adjust value in vport */
+ vport->cfg_enable_fc4_type = phba->cfg_enable_fc4_type;
+
shost->unique_id = instance;
shost->max_id = LPFC_MAX_TARGET;
shost->max_lun = vport->cfg_max_luns;