]> git.baikalelectronics.ru Git - kernel.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)
commit1aa2c8c664e83fba07fbf192bbab2c96de76090b
tree9712577d22be873356e0b7e07d651128ee53035a
parent3207c33d42de55baff1cfb1bf42c27805a5a94ab
fec: use interrupt for MDIO completion indication

With the move to phylib (commit 66eb631) 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