diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-02-18 18:25:13 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 12:55:27 +0200 |
commit | 83e514301ec73b16fb258618c9f9b443cca3744a (patch) | |
tree | 6310240e8336c7e5e2ae5c41f41a1de21d48ea90 /drivers/scsi/isci/port.c | |
parent | isci: implement error isr (diff) | |
download | linux-83e514301ec73b16fb258618c9f9b443cca3744a.tar.xz linux-83e514301ec73b16fb258618c9f9b443cca3744a.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 2343f6556428..446da20521c9 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 |