提交 9137d19b 编写于 作者: H Heiko Schocher 提交者: Tom Rini

net, phy: atheros ar803x bug

commit 626ee1e3 "phylib: update atheros ar803x phy"

leads in failing ethernet on the pxm2 board.

Calling genphy_config() instead of ar8021_config(),
which seems for ar8021 phys not ar803x phys, make
it working again.
Signed-off-by: NHeiko Schocher <hs@denx.de>
Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
上级 95f70627
...@@ -52,7 +52,7 @@ static struct phy_driver AR8031_driver = { ...@@ -52,7 +52,7 @@ static struct phy_driver AR8031_driver = {
.uid = 0x4dd074, .uid = 0x4dd074,
.mask = 0xffffffef, .mask = 0xffffffef,
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES,
.config = ar8021_config, .config = genphy_config,
.startup = genphy_startup, .startup = genphy_startup,
.shutdown = genphy_shutdown, .shutdown = genphy_shutdown,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册