From aa96576b419b0e5db3c84da5c345f1892c038f77 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Wed, 12 Jul 2006 09:51:04 -0400 Subject: [PATCH] --- yaml --- r: 34977 b: refs/heads/master c: 0c269e6d3c615403a6e0acbe6e88f1c0da9c2396 h: refs/heads/master i: 34975: 0501ddfc06eceba570375c70658e31049a2c1707 v: v3 --- [refs] | 2 +- trunk/drivers/message/fusion/mptsas.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 13c4e78748ae..54b1d137ea17 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f4c8aa1107969c26b1984eb2996a58f816dea71f +refs/heads/master: 0c269e6d3c615403a6e0acbe6e88f1c0da9c2396 diff --git a/trunk/drivers/message/fusion/mptsas.c b/trunk/drivers/message/fusion/mptsas.c index f66f2203143a..dfdd1e445768 100644 --- a/trunk/drivers/message/fusion/mptsas.c +++ b/trunk/drivers/message/fusion/mptsas.c @@ -1642,14 +1642,18 @@ static int mptsas_probe_one_phy(struct device *dev, for (i = 0; i < port_info->num_phys; i++) if (port_info->phy_info[i].identify.sas_address == - identify.sas_address) + identify.sas_address) { + sas_port_mark_backlink(port); goto out; + } } else if (scsi_is_sas_rphy(parent)) { struct sas_rphy *parent_rphy = dev_to_rphy(parent); if (identify.sas_address == - parent_rphy->identify.sas_address) + parent_rphy->identify.sas_address) { + sas_port_mark_backlink(port); goto out; + } } switch (identify.device_type) {