diff options
author | Zhao Qiang <qiang.zhao@nxp.com> | 2017-12-14 09:50:46 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-01-15 12:05:27 -0600 |
commit | 1e2d2597a667e16adfe0a8a9be22e904cee84727 (patch) | |
tree | 44a1f84d9602857380f93b5dde18662cf8f13eff | |
parent | dcd18eaf6147c0c69d510883ee08ed1971c5b979 (diff) |
phy: atheros: set auto-negotiation for AR8021
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | drivers/net/phy/atheros.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c index b34cdd3d87d..d7e76deeb7c 100644 --- a/drivers/net/phy/atheros.c +++ b/drivers/net/phy/atheros.c @@ -19,6 +19,7 @@ static int ar8021_config(struct phy_device *phydev) { + phy_write(phydev, MDIO_DEVAD_NONE, 0x00, 0x1200); phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x05); phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47); |