Files
linux/drivers/net
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-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-11-25 15:14:13 -08:00
2009-11-18 05:03:28 -08:00
2009-11-26 15:59:43 -08:00
2009-11-25 15:14:13 -08:00
2009-10-13 11:48:18 -07:00
2009-09-01 01:13:50 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2008-11-25 18:25:32 -08:00
2009-04-04 16:51:14 -07:00
2009-11-04 05:06:26 -08:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-11-05 20:00:41 -08:00
2009-11-05 20:00:29 -08:00
2009-11-06 20:26:09 -08:00
2008-09-22 19:27:10 -07:00
2009-10-11 23:30:16 -07:00
2009-10-11 23:30:16 -07:00
2009-10-13 11:48:18 -07:00
2009-11-11 19:22:21 -08:00
2009-09-23 07:39:43 -07:00
2009-10-11 11:20:58 -07:00
2008-11-25 18:23:59 -08:00
2009-10-20 18:51:37 -07:00
2009-11-11 19:03:36 -08:00
2009-02-26 21:02:19 -08:00
2008-11-25 18:24:57 -08:00
2009-04-16 02:20:08 -07:00
2009-09-07 01:56:52 -07:00
2009-01-06 10:47:44 -08:00
2009-11-20 15:35:04 -08:00
2009-10-02 09:55:19 -07:00
2009-07-06 13:05:13 -07:00
2009-10-13 11:48:18 -07:00
2009-10-20 19:11:06 -07:00
2008-11-25 18:24:38 -08:00
2009-11-25 15:14:13 -08:00
2009-04-16 02:20:16 -07:00
2009-04-16 02:20:21 -07:00
2009-11-13 14:07:30 -08:00
2008-11-10 15:11:56 -05:00
2009-11-25 15:54:21 -08:00
2009-04-29 17:32:34 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-01 15:14:54 -07:00
2009-10-29 22:57:27 -07:00
2009-03-27 00:46:48 -07:00
2008-04-16 20:06:50 -04:00
2008-11-25 18:25:49 -08:00
2008-08-29 02:13:33 -07:00
2008-08-29 02:14:29 -07:00
2008-08-29 02:14:43 -07:00
2009-11-15 22:14:55 -08:00
2009-11-15 22:14:54 -08:00
2009-10-13 11:48:18 -07:00
2008-05-30 22:18:02 -04:00
2009-11-06 22:52:32 -08:00
2009-11-26 15:51:29 -08:00
2009-01-11 00:06:36 -08:00