projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd18ea
)
phy: atheros: set auto-negotiation for AR8021
author
Zhao Qiang
<qiang.zhao@nxp.com>
Thu, 14 Dec 2017 01:50:46 +0000
(09:50 +0800)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:27 +0000
(12:05 -0600)
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/atheros.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/atheros.c
b/drivers/net/phy/atheros.c
index b34cdd3d87dc02f8a01db2f10e895287790679fb..d7e76deeb7c9783d6efa1f1d36b0945803e7982e 100644
(file)
--- 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);