Skip to contentSkip to conversation

net, phy: atheros ar803x bug

PATCH In review Heiko Schocher 2 participants 2 messages Jan 30, 2014 – Feb 19, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Shengzhou Liu <[email protected]>
Cc Joe Hershberger <[email protected]>
---
 drivers/net/phy/atheros.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/atheros.c +1 -1
index 32c2ab9..994500b 100644
@@ -52,7 +52,7 @@ static struct phy_driver AR8031_driver =  {
 	.uid = 0x4dd074,
 	.mask = 0xffffffef,
 	.features = PHY_GBIT_FEATURES,
-	.config = ar8021_config,
+	.config = genphy_config,
 	.startup = genphy_startup,
 	.shutdown = genphy_shutdown,
 };
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 11 lines · Heiko Schocher

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.

Cc Shengzhou Liu <[email protected]>
Cc Joe Hershberger <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140219/426fa034/attachment.pgp>