Problem using FEC on a860T

Laurent Pinchart laurent.pinchart at capflow.com
Mon Oct 22 21:46:21 EST 2001


>
>
>when I compile without "MDIO for PHY configuration"
>the kernel prints forever the message  "fec.c[1374] mii_link_interrupt:
>unexpected Link interrupt
>on the console at boottime.
>
>when I compile with it, the kernel Oopses.
>after carefull debugging, I tracked it down to the line 1367 in
>arch/ppc/8xx_io/
>    mii_do_cmd(dev, fep->phy->ack_int);
>
>it is a kernel access of bad area.
>
There is a problem in the FEC driver. The MII link interrupt gets
enabled too soon, before the PHY interface chip is configured. I believe
that the problem has been fixed in the linuxppc_2_4_devel tree. It was
supposed to be fixed much sooner, but the patch got lost somewhere
between the developpers and the development tree.

The problem should not occur if a full duplex ethernet link is connected
to the board at boot time.

Laurent Pinchart


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list