diff options
author | Christian Lamparter <[email protected]> | 2017-06-07 15:51:16 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-08 10:47:21 -0400 |
commit | 9065bc386fcf52dee8f697450ddeb788e1bd514c (patch) | |
tree | 51698df53e2c3960035b032ae383fdbbf33a1285 /net/unix/af_unix.c | |
parent | 19d90ece81da802207a9b91ce95a29fbdc40626e (diff) |
net: emac: fix and unify emac_mdio functions
emac_mdio_read_link() was not copying the requested phy settings
back into the emac driver's own phy api. This has caused a link
speed mismatch issue for the AR8035 as the emac driver kept
trying to connect with 10/100MBps on a 1GBit/s link.
This patch also unifies shared code between emac_setup_aneg()
and emac_mdio_setup_forced(). And furthermore it removes
a chunk of emac_mdio_init_phy(), that was copying the same
data into itself.
Signed-off-by: Christian Lamparter <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions