no link changed interrupt
dan at embeddededge.com
Sat Jul 6 04:15:33 EST 2002
Walser, Martin wrote:
> Is there another way to get a link change without a hardware interrupt?
The only way to guarantee a link chnage interrupt is to use a PHY and
board design that supports a hardware interrupt. Some boards/PHYs do
this, others do not, and it is a board specific design. While you could
poll the PHY status at regular intervals, it would depend upon the PHY
status registers to properly publish/latch this information. There isn't
sufficient information in the generic PHY registers to detect link change,
so again this is software that will have to be implemented unique to your
PHY (it's proprietary registers) and board design.
The only reason the FEC (or any 8xx/82xx Ethernet controller) needs to
see a link change is to properly configure full/half duplex. It will
adapt to the different link speeds and other link attributes.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded