projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd371e3
)
sfc: Synchronise link_advertising and wanted_fc on Siena
author
Steve Hodgson
<shodgson@solarflare.com>
Tue, 1 Jun 2010 11:18:08 +0000
(11:18 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Jun 2010 09:21:06 +0000
(
02:21
-0700)
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>
drivers/net/sfc/mcdi_phy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sfc/mcdi_phy.c
b/drivers/net/sfc/mcdi_phy.c
index 5c23f22f80c19985281371c5b642e11471867d75..86e43b1f76898b4ad69dd6905b8c7f866567455e 100644
(file)
--- 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;