Fixed PHY problems
Hammond Christian-r55079
christian.hammond at freescale.com
Mon May 21 22:46:20 EST 2007
Thanks,
Regarding the PHY set-up in the dts once the patch has been applied, how
should it be implemented?
I had edited from...
phy1: ethernet-phy at 01 {
reg = <0>;
device_type = "ethernet-phy";
interface = <6>;
};
To...
phy1: fixed-phy at 64 {
reg = <d#100>;
device_type = "ethernet-phy";
interface = <6>;
};
When bringing up the fixed phy in ifconfig I get the following recurring
dump and prompt access is lost. Should this implementation not just
ignore the phy set-up?
~ # ifconfig eth1 10.137.32.175 netmask 255.255.255.0 up
read wrong value : mii_id 100,mii_reg 2, base d100c120
read wrong value : mii_id 100,mii_reg 3, base d100c120
eth1: PHY is Generic MII (ffffffff)
~ # read wrong value : mii_id 100,mii_reg 4, base d100c120
read wrong value : mii_id 100,mii_reg 0, base d100c120
read wrong value : mii_id 100,mii_reg 1, base d100c120
read wrong value : mii_id 100,mii_reg 1, base d100c120
read wrong value : mii_id 100,mii_reg 5, base d100c120
eth1: Full Duplex
eth1: Speed 100BT
eth1: Link is up
read wrong value : mii_id 100,mii_reg 1, base d100c120
read wrong value : mii_id 100,mii_reg 1, base d100c120
read wrong value : mii_id 100,mii_reg 5, base d100c120
-----Original Message-----
From: Joakim Tjernlund [mailto:joakim.tjernlund at transmode.se]
Sent: 20 May 2007 11:17
To: Hammond Christian-r55079
Cc: linuxppc-dev at ozlabs.org
Subject: Re: Fixed PHY problems
On Sat, 2007-05-19 at 15:42 +0100, Hammond Christian-r55079 wrote:
> Hi Vitaly,
>
> I was pointed in the direction of message chain "Fixed PHY problems"
> for interfacing a fixed PHY to a 83xx UEC. Could you please forward on
> the patch you mentioned in the trail?
Vitaly sent me the patch, had to do some minor tweaking to make it
compile. Attaching the patch.
>
> Any ideas if the implementation succeeded in the end?
No, the fixed PHY is on another bus than what ucc_geth expects.
See msg from me titled "Fixed PHY and MPC832x based boards don't work"
from about a week ago.
Jocke
>
> Christian Hammond
>
> NCSG Applications Engineer
>
> Tel: +44 1355 355962
> Fax: +44 1355 261790
>
> Freescale Semiconductor
> Kelvin Industrial Estate
> East Kilbride
> Glasgow G75 0TG
> United Kingdom
More information about the Linuxppc-dev
mailing list