aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/mcdi_phy.c
diff options
context:
space:
mode:
authorSteve Hodgson <shodgson@solarflare.com>2010-06-01 11:18:08 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-02 02:21:06 -0700
commitcffe9d4cdafdffa840abeb55c50fd2df2d7b0cdb (patch)
tree147a06c039425cf5844e9572f8faaf3e15624afd /drivers/net/sfc/mcdi_phy.c
parentsfc: Workaround flush failures on Falcon B0 (diff)
downloadlinux-dev-cffe9d4cdafdffa840abeb55c50fd2df2d7b0cdb.tar.xz
linux-dev-cffe9d4cdafdffa840abeb55c50fd2df2d7b0cdb.zip
sfc: Synchronise link_advertising and wanted_fc on Siena
All of the ethtool code paths keep them in sync, but we need to ensure they are sync'd at start of day. Matches the sft9001 driver. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/sfc/mcdi_phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/mcdi_phy.c b/drivers/net/sfc/mcdi_phy.c
index 5c23f22f80c1..86e43b1f7689 100644
--- a/drivers/net/sfc/mcdi_phy.c
+++ b/drivers/net/sfc/mcdi_phy.c
@@ -395,6 +395,7 @@ static int efx_mcdi_phy_probe(struct efx_nic *efx)
efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
if (phy_data->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN))
efx->wanted_fc |= EFX_FC_AUTO;
+ efx_link_set_wanted_fc(efx, efx->wanted_fc);
return 0;