Browse Source

phy: atheros: set auto-negotiation for AR8021

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Zhao Qiang 7 years ago
parent
commit
1e2d2597a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/phy/atheros.c

+ 1 - 0
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);