Files
linux/drivers
Ben Hutchings 9007b9fa36 sfc: Simplify XMAC link polling
From: Steve Hodgson <shodgson@solarflare.com>

Only the XMAC on Falcon needs help from the driver to poll and reset
the MAC-PHY link (XAUI); GMII is a simple parallel bus and on later
NICs firmware takes care of the XAUI link.  Also, an XMAC interrupt
currently schedules a work item which simply clears a flag
(efx_nic::mac_up) to be checked by the regular monitor (or the next
link reconfiguration, if that is sooner).

Rename the flag to xmac_poll_required, changing its sense.  Remove the
needless indirection and just set the flag immediately.  Call
falcon_xmac_poll() directly where required.

Add a new generic operation mac_op::check_fault to check the link
outside of regular monitoring, as required during self-tests.

(Note that this leaves us with an unused work item, but we will
immediately have another use for it.)

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-26 15:59:43 -08:00
..
2009-11-04 14:04:06 +01:00
2009-09-24 07:21:05 -07:00
2009-11-18 23:29:57 -08:00
2009-11-12 07:25:57 -08:00
2009-11-16 16:13:35 +00:00
2009-11-26 15:59:43 -08:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2009-11-16 16:15:49 +00:00
2009-11-11 12:21:06 -05:00
2009-11-17 17:40:32 -08:00
2009-11-23 17:05:41 -05:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00