Skip to contentSkip to conversation

ar8031: modify the config func of ar8031 to ar8021_config

PATCH New Zhao Qiang 2 participants 2 messages Apr 21, 2014 – Apr 23, 2014

Subsystems (2)
lore
Share & tools
lore

Zhao Qiang

author
#0 lore raw

PATCH 1/1 ar8031: modify the config func of ar8031 to ar8021_config

ar8031 has the same config steps with ar8021, so change its config func to ar8021_config instead of genphy_config.

---
 drivers/net/phy/atheros.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/atheros.c +1 -1
index b80980d..abd4e5b 100644
@@ -53,7 +53,7 @@ static struct phy_driver AR8031_driver =  {
 	.uid = 0x4dd074,
 	.mask = 0xffffffef,
 	.features = PHY_GBIT_FEATURES,
-	.config = genphy_config,
+	.config = ar8021_config,
 	.startup = genphy_startup,
 	.shutdown = genphy_shutdown,
 };
Signature · 1 line
1.8.5
#1 lore raw

PATCH 1/1 ar8031: modify the config func of ar8031 to ar8021_config

Quoted 5 lines · Zhao Qiang

ar8031 has the same config steps with ar8021, so change its config func to ar8021_config instead of genphy_config.

---

Applied to u-boot-mpc85xx/master, thanks.

York