no link changed interrupt

2 messages, 2 authors, 2002-07-05 · open the first message on its own page

no link changed interrupt

From: Walser, Martin <hidden>
Date: 2002-07-05 05:51:55

Hi,

I'm using kernel 2.4.4.
The problem is, that I get no link changed interrupt when connecting or
disconnectiong the ethernet. I'm using the DP83846 from National. There is no
hardware interrupt, but it's possible to generate an interrupt flag in a special
register
Is it possible to get this software interrupt in the fec.c ?
Is there another way to get a link change without a hardware interrupt?

best regard
Martin


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

Re: no link changed interrupt

From: Dan Malek <hidden>
Date: 2002-07-05 18:15:33

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.


	-- Dan


** 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