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_hbadisc.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_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 556d55fc9456..914e74ac11e5 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -2200,7 +2200,7 @@ lpfc_disc_list_loopmap(struct lpfc_vport *vport) | |||
2200 | /* If cfg_scan_down is set, start from highest | 2200 | /* If cfg_scan_down is set, start from highest |
2201 | * ALPA (0xef) to lowest (0x1). | 2201 | * ALPA (0xef) to lowest (0x1). |
2202 | */ | 2202 | */ |
2203 | if (phba->cfg_scan_down) | 2203 | if (vport->cfg_scan_down) |
2204 | index = j; | 2204 | index = j; |
2205 | else | 2205 | else |
2206 | index = FC_MAXLOOP - j - 1; | 2206 | index = FC_MAXLOOP - j - 1; |
@@ -2749,7 +2749,7 @@ lpfc_mbx_cmpl_fdmi_reg_login(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) | |||
2749 | * fdmi-on=2 (supporting RPA/hostnmae) | 2749 | * fdmi-on=2 (supporting RPA/hostnmae) |
2750 | */ | 2750 | */ |
2751 | 2751 | ||
2752 | if (phba->cfg_fdmi_on == 1) | 2752 | if (vport->cfg_fdmi_on == 1) |
2753 | lpfc_fdmi_cmd(vport, ndlp, SLI_MGMT_DHBA); | 2753 | lpfc_fdmi_cmd(vport, ndlp, SLI_MGMT_DHBA); |
2754 | else | 2754 | else |
2755 | mod_timer(&vport->fc_fdmitmo, jiffies + HZ * 60); | 2755 | mod_timer(&vport->fc_fdmitmo, jiffies + HZ * 60); |