Skip to contentSkip to conversation

MIPS: AR7: fix phat finger of cpmac fixed_phy_add

PATCH In review Alexander Clouter 2 participants 2 messages Mar 13, 2010 – Mar 15, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: AR7: fix phat finger of cpmac fixed_phy_add

Seems I trimmed one too many lines in 7084338eb8eb0cc021ba86c340157bad397f3f0b which led to no functioning Ethernet on my WAG54Gv2. This patch restores the AWOL line.

---
 arch/mips/ar7/platform.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/ar7/platform.c +1 -0
index 0bd5f67..2fafc78 100644
@@ -600,6 +600,7 @@ static int __init ar7_register_devices(void)
 	}
 
 	if (ar7_has_high_cpmac()) {
+		res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status);
 		if (!res) {
 			cpmac_get_mac(1, cpmac_high_data.dev_addr);
 
Signature · 1 line
1.7.0
#1 lore raw
Quoted 3 lines · Alexander Clouter

Seems I trimmed one too many lines in 7084338eb8eb0cc021ba86c340157bad397f3f0b which led to no functioning Ethernet on my WAG54Gv2. This patch restores the AWOL line.

Phat-freely applied. Thanks!

Ralf