]> git.karo-electronics.de Git - linux-beck.git/commit
fec: use interrupt for MDIO completion indication
authorBaruch Siach <baruch@tkos.co.il>
Sun, 11 Jul 2010 21:12:51 +0000 (21:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:48 +0000 (20:21 -0700)
commit97b72e4320a9aaa4a7f1592ee7d2da7e2c9bd349
tree9712577d22be873356e0b7e07d651128ee53035a
parent15fd0cd9a2ad24a78fbee369dec8ca660979d57e
fec: use interrupt for MDIO completion indication

With the move to phylib (commit e6b043d) I was seeing sporadic "MDIO write
timeout" messages. Measure of the actual time spent showed latency times of
more than 1600us.

This patch uses the MII event indication of the FEC hardware to detect
completion of MDIO transactions.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c