Received: from milmhbs1.lsil.com (147.145.21.209) by coscas01.lsi.com
 (172.21.36.60) with Microsoft SMTP Server id 8.1.393.1; Fri, 12 Mar 2010
 17:10:37 -0700
Received: from mail1.lsil.com (mail1.lsil.com [147.145.40.21])	by
 milmhbs1.lsil.com (8.12.11/8.12.11) with ESMTP id o2D0Aa7h031122	for
 <andy.sharp@lsi.com>; Fri, 12 Mar 2010 16:10:37 -0800
Received: from psmtp.com (na3sys009amx169.postini.com [74.125.149.95])	by
 mail1.lsil.com (8.12.11/8.12.11) with SMTP id o2D0ASY7003638	for
 <andy.sharp@lsi.com>; Fri, 12 Mar 2010 16:10:35 -0800 (PST)
Received: from source ([78.24.191.182]) by na3sys009amx169.postini.com
 ([74.125.148.14]) with SMTP;	Fri, 12 Mar 2010 16:10:35 PST
Received: from localhost.localdomain ([127.0.0.1]:34251 "EHLO
        eddie.linux-mips.org" rhost-flags-OK-OK-OK-FAIL)        by
 eddie.linux-mips.org with ESMTP id S1492430Ab0CMAKI (ORCPT
        <rfc822;andy.sharp@lsi.com>); Sat, 13 Mar 2010 01:10:08 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Sat, 13 Mar 2010 01:09:50
 +0100 (CET)
Received: from lo.gmane.org ([80.91.229.12]:36420 "EHLO lo.gmane.org"
        rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP        id
 S1492419Ab0CMAJr (ORCPT <rfc822;linux-mips@linux-mips.org>);        Sat, 13
 Mar 2010 01:09:47 +0100
Received: from list by lo.gmane.org with local (Exim 4.69)
        (envelope-from <sgi-linux-mips@m.gmane.org>)        id
 1NqEvI-0002oS-5J        for linux-mips@linux-mips.org; Sat, 13 Mar 2010
 01:09:44 +0100
Received: from chipmunk.wormnet.eu ([195.195.131.226])        by
 main.gmane.org with esmtp (Gmexim 0.1 (Debian))        id 1AlnuQ-0007hv-00
        for <linux-mips@linux-mips.org>; Sat, 13 Mar 2010 01:09:44 +0100
Received: from alex by chipmunk.wormnet.eu with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00        for <linux-mips@linux-mips.org>; Sat, 13
 Mar 2010 01:09:44 +0100
From: Alexander Clouter <alex@digriz.org.uk>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Fri, 12 Mar 2010 17:09:15 -0700
Subject: [PATCH] MIPS: AR7: fix phat finger of cpmac fixed_phy_add
Thread-Topic: [PATCH] MIPS: AR7: fix phat finger of cpmac fixed_phy_add
Thread-Index: AcrCQZxOylx72VnvQ9CqV2FFiniLoQ==
Message-ID: <bm1r67-9mq.ln1@chipmunk.wormnet.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: coscas01.lsi.com
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-scanned-by: MIMEDefang 2.39
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:93.35162/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c 
x-pstn-addresses: from <alex@digriz.org.uk> [22/1] 
x-pstn-neptune: 1/1/1.00/89
user-agent: tin/1.9.3-20080506 ("Dalintober") (UNIX)
 (Linux/2.6.26-2-sparc64-smp (sparc64))
x-complaints-to: usenet@dough.gmane.org
x-list: linux-mips
x-original-sender: alex@digriz.org.uk
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

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

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
---
 arch/mips/ar7/platform.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c
index 0bd5f67..2fafc78 100644
--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -600,6 +600,7 @@ static int __init ar7_register_devices(void)
 	}
=20
 	if (ar7_has_high_cpmac()) {
+		res =3D fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status);
 		if (!res) {
 			cpmac_get_mac(1, cpmac_high_data.dev_addr);
=20
--=20
1.7.0


