diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-09-01 10:24:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 02:00:41 -0400 |
commit | 444018a7f1f46d588328498777cab5a9f4d29105 (patch) | |
tree | 764d15e0d94aa452a65406c1e0358676734db0da | |
parent | cc25f0cbe4409d6a573b1f3bf7020d5b04076ee9 (diff) |
cxgb4: Fix for handling 1Gb/s SFP+ Transceiver Modules
We previously assumed that a Port's Capabilities and Advertised Capabilities
would never change from Port Initialization time. This is no longer true
when we can have 10Gb/s and 1Gb/s SFP+ Transceiver Modules randomly swapped.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c index a853133d8db8..6b92c4c5a241 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | |||
@@ -3742,6 +3742,7 @@ int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) | |||
3742 | lc->link_ok = link_ok; | 3742 | lc->link_ok = link_ok; |
3743 | lc->speed = speed; | 3743 | lc->speed = speed; |
3744 | lc->fc = fc; | 3744 | lc->fc = fc; |
3745 | lc->supported = be16_to_cpu(p->u.info.pcap); | ||
3745 | t4_os_link_changed(adap, port, link_ok); | 3746 | t4_os_link_changed(adap, port, link_ok); |
3746 | } | 3747 | } |
3747 | if (mod != pi->mod_type) { | 3748 | if (mod != pi->mod_type) { |