From: Alexander Clouter Date: Sat, 13 Mar 2010 00:09:15 +0000 (+0000) Subject: MIPS: AR7: Fix phat finger of cpmac fixed_phy_add X-Git-Tag: MMI-PSA29.97-13-9~24152^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=727c0075c80005e2012be113a91e5976abec4f9d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git MIPS: AR7: Fix phat finger of cpmac fixed_phy_add Seems I trimmed one too many lines in 29ca2d81bd2a62fa86bc9a72ddadcf03d7daf795 (lmo) rsp 7084338eb8eb0cc021ba86c340157bad397f3f0b (kernel.org) which led to no functioning Ethernet on my WAG54Gv2. This patch restores the AWOL line. Signed-off-by: Alexander Clouter To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1065/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c index 0bd5f67320be..2fafc78e5ce1 100644 --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c @@ -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);