Thread (15 messages) flat view 15 messages, 4 authors, 2007-09-17

Re: Domen's MPC5200 FEC cleanup patch.

From: Jon Smirl <hidden>
Date: 2007-09-15 15:55:47

On 9/15/07, Domen Puncer [off-list ref] wrote:
On 15/09/07 00:28 -0400, Jon Smirl wrote:
quoted
On 9/14/07, Jon Smirl [off-list ref] wrote:
quoted
This patch doesn't seem to working quite right on my hardware (Phytec
pcm030). At boot I get a long pause.
It also doesn't compile if  CONFIG_FEC_MPC52xx_MDIO is undefined.
Right, darn.
Try this one: http://coderock.org/tmp/fec-v3rc1/
    0.776407] 0x00f40000-0x00f80000 : "oftree"
[    0.782101] 0x00f80000-0x01000000 : "space"
[    0.788100] TCP cubic registered
[    0.791427] NET: Registered protocol family 1
[    0.795904] NET: Registered protocol family 17
[    1.305579] f0003000:00 not found
[    1.308985] net eth0: phy_connect failed
[    1.312961] net eth0: fec_init_phy failed
[    1.317188] IP-Config: Failed to open eth0
[    1.321362] IP-Config: No network devices available.
[    1.326973] Looking up port of RPC 100003/3 on 192.168.1.4


Does it work without phy-handle in device tree, but
with this part being unconditional (fec.c):
 709 //        if (priv->has_phy)
 710                 rcntrl |= FEC_RCNTRL_MII_MODE;

This effectively disables phy part of the driver,
but still allows hardware to use PHY/MII.
Makes no difference
I am puzzled by the symptoms you see.


        Domen
quoted
--
Jon Smirl
jonsmirl@gmail.com

-- 
Jon Smirl
jonsmirl@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help