Subject: Re: [PATCH][PPC32] Fix gianfar netdriver oops when using bootp...

From: Kumar Gala <[email-masked]>
Date: Wed, 1 Dec 2004 16:19:07 -0600

There is some belief that the following patch should fix the issue:

http://linux.bkbits.net:8080/linux-2.5/[email-masked]?=20
nav=3Dindex.html|ChangeSet@-3d

I would be interested to know if this helps w/o your patch.

- kumar

On Dec 1, 2004, at 10:07 AM, Gerhard Jaeger wrote:

> Hi,
>
> this patch fixes an issue, that occurs on my MPC8541CDS, when trying =
to
>  use bootp to get the IP parameters. It seems, that the patch only =20
> cures
>  the symptom but obviously not the cause ;)
>
> Signed-off-by: Gerhard Jaeger <[email-masked]>
>
> --- linux-2.6.10-rc2-mm4/drivers/net/gianfar.c.orig=A0=A0=A0=A0 =
2004-11-15 =20
> 02:26:34.000000000 +0100
>  +++ linux-2.6.10-rc2-mm4/drivers/net/gianfar.c=A0 2004-12-01 =20
> 17:00:19.000000000 +0100
>  @@ -1477,6 +1477,9 @@ static void gfar_phy_change(void *data)
>  =A0=A0=A0=A0=A0=A0=A0 struct gfar_private *priv =3D netdev_priv(dev);
> =A0=A0=A0=A0=A0=A0=A0 int result =3D 0;
>  =A0
>  +=A0=A0=A0=A0=A0=A0 if( !priv->mii_info->phyinfo )
>  +=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 return;
>  +
>  =A0=A0=A0=A0=A0=A0=A0 /* Delay to give the PHY a chance to change the
>  =A0=A0=A0=A0=A0=A0=A0=A0 * register state */
>  =A0=A0=A0=A0=A0=A0=A0 msleep(1);