Thread (3 messages) flat view 3 messages, 3 authors, 2001-10-22

Re: Problem using FEC on a860T

From: Laurent Pinchart <hidden>
Date: 2001-10-22 11:46:21


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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help