diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-13 00:50:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 00:58:17 -0500 |
commit | 04cc8cacb01c09fba2297faf1477cd570ba43f0b (patch) | |
tree | f17dbd584b072d14f1500c6f6d659be993ae35c7 /drivers/net/sfc/xfp_phy.c | |
parent | 177dfcd80f28f8fbc3e22c2d8b24d21cb86f1d97 (diff) |
sfc: Implement auto-negotiation
Add infrastructure for auto-negotiation of speed, duplex and flow
control.
When using 10Xpress, auto-negotiate flow control. While we're
at it, clean up the code to warn when partner is not 10GBASE-T
capable.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/xfp_phy.c')
-rw-r--r-- | drivers/net/sfc/xfp_phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/xfp_phy.c b/drivers/net/sfc/xfp_phy.c index d4e203ddcf1c..fbe8e25a1ed5 100644 --- a/drivers/net/sfc/xfp_phy.c +++ b/drivers/net/sfc/xfp_phy.c | |||
@@ -155,6 +155,7 @@ static void xfp_phy_reconfigure(struct efx_nic *efx) | |||
155 | efx->link_up = xfp_link_ok(efx); | 155 | efx->link_up = xfp_link_ok(efx); |
156 | efx->link_speed = 10000; | 156 | efx->link_speed = 10000; |
157 | efx->link_fd = true; | 157 | efx->link_fd = true; |
158 | efx->link_fc = efx->wanted_fc; | ||
158 | } | 159 | } |
159 | 160 | ||
160 | 161 | ||