diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-08-02 11:09:59 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-08-01 13:19:24 -0400 |
commit | 3de2a653a127c468284c48e233719dc39769e354 (patch) | |
tree | c57fd1c8b8ce28d2e2e87ddbff0ecb10ac1524f9 /drivers/scsi/lpfc/lpfc_ct.c | |
parent | 549e55cd2a1b83ea45ac17fb6c309654a3d371a4 (diff) |
[SCSI] lpfc 8.2.2 : Attribute and Parameter splits for vport and physical port
- Split attributes up into vport and non-vport attributes.
- Move vport specific cfg params to vport
Many of the vport-specific behaviors were still global attributes
on the physical port. Move them to the vport itself.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_ct.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_ct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index 43e2e33f9a07..8b7e90eac5c3 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c | |||
@@ -451,10 +451,10 @@ lpfc_ns_rsp(struct lpfc_vport *vport, struct lpfc_dmabuf *mp, uint32_t Size) | |||
451 | */ | 451 | */ |
452 | if ((Did != vport->fc_myDID) && | 452 | if ((Did != vport->fc_myDID) && |
453 | ((lpfc_find_vport_by_did(phba, Did) == NULL) || | 453 | ((lpfc_find_vport_by_did(phba, Did) == NULL) || |
454 | phba->cfg_peer_port_login)) { | 454 | vport->cfg_peer_port_login)) { |
455 | if ((vport->port_type != LPFC_NPIV_PORT) || | 455 | if ((vport->port_type != LPFC_NPIV_PORT) || |
456 | (vport->fc_flag & FC_RFF_NOT_SUPPORTED) || | 456 | (vport->fc_flag & FC_RFF_NOT_SUPPORTED) || |
457 | (!phba->cfg_vport_restrict_login)) { | 457 | (!vport->cfg_restrict_login)) { |
458 | ndlp = lpfc_setup_disc_node(vport, Did); | 458 | ndlp = lpfc_setup_disc_node(vport, Did); |
459 | if (ndlp) { | 459 | if (ndlp) { |
460 | lpfc_debugfs_disc_trc(vport, | 460 | lpfc_debugfs_disc_trc(vport, |
@@ -1471,7 +1471,7 @@ lpfc_fdmi_cmd(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int cmdcode) | |||
1471 | pab->ab.EntryCnt++; | 1471 | pab->ab.EntryCnt++; |
1472 | size += FOURBYTES + len; | 1472 | size += FOURBYTES + len; |
1473 | 1473 | ||
1474 | if (phba->cfg_fdmi_on == 2) { | 1474 | if (vport->cfg_fdmi_on == 2) { |
1475 | /* #6 Port attribute entry */ | 1475 | /* #6 Port attribute entry */ |
1476 | ae = (ATTRIBUTE_ENTRY *) ((uint8_t *) pab + | 1476 | ae = (ATTRIBUTE_ENTRY *) ((uint8_t *) pab + |
1477 | size); | 1477 | size); |