netdev: bfin_mac: handle timeouts with the MDIO registers gracefully
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 May 2010 05:39:13 +0000 (05:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:21:00 +0000 (17:21 -0700)
commit2bfa0f0c9a37460ee69128da411f6d310c1c983d
treea1fecf40799f0bce399314150543db42e7b33079
parentc0da776bde79e5d5e2c955ff37a8a09fe05433b2
netdev: bfin_mac: handle timeouts with the MDIO registers gracefully

Have the low level MDIO functions pass back up timeout information so we
don't waste time polling them multiple times when there is a problem, and
so we don't let higher layers think the device is available when it isn't.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c