Domen's MPC5200 FEC cleanup patch.

Domen Puncer domen.puncer at telargo.com
Sat Sep 15 22:22:18 EST 2007


On 15/09/07 00:28 -0400, Jon Smirl wrote:
> On 9/14/07, Jon Smirl <jonsmirl at gmail.com> wrote:
> > 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/

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.

I am puzzled by the symptoms you see.


	Domen

> 
> -- 
> Jon Smirl
> jonsmirl at gmail.com


More information about the Linuxppc-embedded mailing list