diff options
author | James Smart <james.smart@emulex.com> | 2013-04-17 20:15:19 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 12:43:15 -0700 |
commit | e74c03c8a8e73c9a0648e1950f8798db0e43a07e (patch) | |
tree | 638ec5e730f4a24c788b8ff37ad451d7270dd96e /drivers/scsi/lpfc/lpfc_attr.c | |
parent | 256ec0d05f8050339a9cc4e92bdc96cec1ce82bd (diff) | |
download | linux-e74c03c8a8e73c9a0648e1950f8798db0e43a07e.tar.gz linux-e74c03c8a8e73c9a0648e1950f8798db0e43a07e.tar.bz2 linux-e74c03c8a8e73c9a0648e1950f8798db0e43a07e.zip |
[SCSI] lpfc 8.3.39: Fixed pt2pt and loop discovery problems on topology changes.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 9290713af253..ad5b0f94a98d 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@ -2801,6 +2801,8 @@ lpfc_topology_store(struct device *dev, struct device_attribute *attr, lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, "3054 lpfc_topology changed from %d to %d\n", prev_val, val); + if (prev_val != val && phba->sli_rev == LPFC_SLI_REV4) + phba->fc_topology_changed = 1; err = lpfc_issue_lip(lpfc_shost_from_vport(phba->pport)); if (err) { phba->cfg_topology = prev_val; |