summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/port.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-02-18 17:25:13 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-07-03 10:55:27 (GMT)
commit83e514301ec73b16fb258618c9f9b443cca3744a (patch)
tree6310240e8336c7e5e2ae5c41f41a1de21d48ea90 /drivers/scsi/isci/port.c
parent92f4f0f544a6a75979bace0c43fee9c4fb95830c (diff)
downloadlinux-83e514301ec73b16fb258618c9f9b443cca3744a.tar.xz
isci: advertise linkrate
Inform libsas of the linkrate of direct attached links. Reported-by: Haavard Skinnemoen <hskinnemoen@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.c')
-rw-r--r--drivers/scsi/isci/port.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c
index 2343f65..446da20 100644
--- a/drivers/scsi/isci/port.c
+++ b/drivers/scsi/isci/port.c
@@ -263,6 +263,8 @@ void isci_port_link_up(
success = false;
}
+ isci_phy->sas_phy.phy->negotiated_linkrate = sci_phy_linkrate(phy);
+
spin_unlock_irqrestore(&isci_phy->sas_phy.frame_rcvd_lock, flags);
/* Notify libsas that we have an address frame, if indeed