From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755031AbZLCEOY (ORCPT ); Wed, 2 Dec 2009 23:14:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753736AbZLCEOW (ORCPT ); Wed, 2 Dec 2009 23:14:22 -0500 Received: from mail-iw0-f171.google.com ([209.85.223.171]:59371 "EHLO mail-iw0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754367AbZLCEOU convert rfc822-to-8bit (ORCPT ); Wed, 2 Dec 2009 23:14:20 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=HO7j2aVYmSDshzz1xnWVTlywv4WBQcCzp5d3q/HSyHGXNhvFTrsAhiZlMSwseFOI59 BZPgKBxCbTgMtxld30eR5lX2jnYYrAb9C1OPnjcQ6XxSHcpX5dbpCsVk8ggDD9KH86FO N2HEzJy2FafXKyV6NYvEYd971UNb8JyLBeZfI= MIME-Version: 1.0 In-Reply-To: References: From: Yogesh Chaudhari Date: Thu, 3 Dec 2009 09:44:04 +0530 Message-ID: Subject: Re: Ethernet issues with lite5200 board from linux-2.6.31 To: LKML Cc: Grant Likely , rt-users , Ingo Molnar , Steven Rostedt , Peter Zijlstra , Carsten Emde , Clark Williams , Frank Rowand , Robin Gareus , Gregory Haskins , Philippe Reynes , Fernando Lopez-Lezcano , Will Schmidt , Darren Hart , Jan Blunck , Sven-Thorsten Dietrich , Jon Masters , Mark Knecht , John Kacur , linuxppc-dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2009/11/30 Grant Likely : > On Mon, Nov 30, 2009 at 2:50 AM, Yogesh Chaudhari wrote: >> Hello, >>         I am running linux kernel with rt patch on embedded board >> based on lite5200 eval board. From linux-2.6.31 release, in which the >> mdio patch has gone inside,  the fec ethernet does not come up on this >> board. I get the following message at startup: >> mpc52xx MII bus: probed >> mdio_bus f0003000: error probing PHY at address 1 >> >> >> After the bootup if I try to do a ifconfig I get the message: >> net eth2: of_phy_connect failed >> >> >> If I change the value of reg in dts file (lite5200.dts) to 0 then this >> ethernet comes up. However upto this kernel version, this was not >> required. >> >> Ethernet does not come up on board with original lite5200.dts file > > Is your board based on the Lite5200 or the Lite5200B?  The phys are at > different addresses on those two revisions of the board.  There is a > different .dts file for each board. > >> phy0: ethernet-phy@1 { >>                                 reg = <1>; >>                         }; >> >> Ethernet comes up on board with this change >> phy0: ethernet-phy@1 { >>                                 reg = <0>; >>                         }; > > Some PHYs treat address 0 as the 'broadcast' address.  You need to > fill in this field (and modify the ethernet-phy@
node name) > to reflect the address that your phy is actually at. > > g. > I have tried the same with the latest kernel both with and without rt, but with the same end result. I have checked that the mpc52xx fec driver was changed from 2.6.31 version but I am not able to point where this error is coming up from and how changing the reg value in dts (which is not required till previous versions) is solving this.