Subject: Re: Domen's MPC5200 FEC cleanup patch.

From: Domen Puncer <[email-masked]>
Date: Sat, 15 Sep 2007 14:22:18 +0200

On 15/09/07 00:28 -0400, Jon Smirl wrote:
> On 9/14/07, Jon Smirl <[email-masked]> 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
> [email-masked]