RE: Gianfar eth driver on 8540 ppc - for 2.4 and 2.6 : differentoutputs
From: Haruki Dai-r35557 <hidden>
Date: 2006-08-11 18:12:32
Why there are three TSEC on the MPC8540??=20 Dai
-----Original Message----- From:=20 linuxppc-embedded-bounces+dai.haruki=3Dfreescale.com@ozlabs.org=20 [mailto:linuxppc-embedded-bounces+dai.haruki=3Dfreescale.com@ozl abs.org] On Behalf Of Kumar Gala Sent: Friday, August 11, 2006 7:38 AM To: Prashant Yendigeri Cc: linuxppc-embedded@ozlabs.org Subject: Re: Gianfar eth driver on 8540 ppc - for 2.4 and 2.6=20 : differentoutputs =20 =20 On Aug 11, 2006, at 6:21 AM, Prashant Yendigeri wrote: =20quoted
Hi, Downloaded 2.6.16.26 and booted up and got this : / # ifconfig eth0 172.28.8.254 up [ 34.034596] 0:00 not found [ 34.037330] eth0: Could not attach to PHY [ 34.041809] 0:00 not found SIOCSIFFLAGS: No[ 34.044526] eth0: Could not attach to PHY such device SIOCSIFFLAGS: No such device I had enabled all the PHY devices in .config and also tried only =20 with Marvell phy enabled.=20 =20 Are you doing this on a custom board? If so what is the PHY address =20 for the Marvell phy you are using? =20 - k =20quoted
Kernel boot messages : [ 2.296555] Gianfar MII Bus: probed [ 2.301789] eth0: Gianfar Ethernet Controller Version 1.2, =20 00:01:af:07:9b:8a [ 2.309039] eth0: Running with NAPI disabled [ 2.313307] eth0: 64/64 RX/TX BD ring size [ 2.318498] eth1: Gianfar Ethernet Controller Version 1.2, =20 00:00:00:00:72:6f [ 2.325738] eth1: Running with NAPI disabled [ 2.330006] eth1: 64/64 RX/TX BD ring size [ 2.335198] eth2: Gianfar Ethernet Controller Version 1.2, 6f:=20 74:3d:2f:64:65 [ 2.342377] eth2: Running with NAPI disabled [ 2.346662] eth2: 64/64 RX/TX BD ring size [ 2.351586] Marvell 88E1101: Registered new driver [ 2.357010] Davicom DM9161E: Registered new driver [ 2.362443] Davicom DM9131: Registered new driver [ 2.367775] Cicada Cis8204: Registered new driver [ 2.373136] LXT970: Registered new driver [ 2.377794] LXT971: Registered new driver [ 2.382461] QS6612: Registered new driver Regards, Prashant Kumar Gala [off-list ref] 08/11/2006 09:40 AM To Prashant Yendigeri [off-list ref] cc linuxppc-embedded@ozlabs.org Subject Re: Gianfar eth driver on 8540 ppc - for 2.4 and 2.6 : different =20 outputs On Aug 10, 2006, at 6:18 AM, Prashant Yendigeri wrote:quoted
Hi, The gianfar driver of 2.6.12 and 2.4.20 give different outputs on the same PPC 8540 board. What could be the reason ? Output on 2.4.20 : /root # ifconfig eth0 172.28.8.254 up eth0: PHY is Marvell 88E1011S (1410c62) eth0: Auto-negotiation done eth0: Half Duplex eth0: Speed 10BT eth0: Link is up Output on 2.6.12 / # ifconfig eth0 172.28.8.254 up eth0: PHY is Generic MII (ffffffff)It looks like your 2.6.12 kernel isn't handling the PHY correctly. I'd recommend upgrading to something newer which has the phylib (can't remember which 2.6 that went into). - kumar =20______________________________________________________________________quoted
=20______________________________________________________________________ =20 _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded =20