linux/drivers/net/sfc
Steve Hodgson fdaa9aed21 sfc: Simplify PHY polling
Falcon can generate events for LASI interrupts from the PHY, but in
practice we have never implemented this in reference designs.  Instead
we have polled, inserted the appropriate events, and then handled the
events later.  This is a waste of time and code.

Instead, make PHY poll functions update the link state synchronously
and report whether it changed.  We can still make use of the LASI
registers as a shortcut on the SFT9001.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-28 23:58:50 -08:00
..
Kconfig
Makefile sfc: Rename 'xfp' file and functions to reflect reality 2009-10-24 04:27:28 -07:00
bitfield.h sfc: Remove versioned bitfield macros 2009-10-24 04:26:56 -07:00
efx.c sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
efx.h sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
enum.h sfc: Log interrupt and reset type names, not numbers 2009-11-24 10:59:04 -08:00
ethtool.c sfc: Clean up struct falcon_board and struct falcon_board_data 2009-11-26 15:59:16 -08:00
falcon.c sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
falcon.h sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
falcon_boards.c sfc: Simplify XMAC link polling 2009-11-26 15:59:43 -08:00
falcon_gmac.c sfc: Simplify XMAC link polling 2009-11-26 15:59:43 -08:00
falcon_xmac.c sfc: Simplify XMAC link polling 2009-11-26 15:59:43 -08:00
io.h sfc: Rename register I/O header and functions used by both Falcon and Siena 2009-10-24 04:27:04 -07:00
mac.h
mdio_10g.c sfc: Remove unused code for non-autoneg speed/duplex switching 2009-10-24 04:27:26 -07:00
mdio_10g.h sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
mtd.c
net_driver.h sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
phy.h sfc: Use a single blink implementation 2009-11-24 10:58:39 -08:00
qt202x_phy.c sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
regs.h sfc: Update hardware definitions for Siena 2009-10-24 04:27:03 -07:00
rx.c sfc: Combine high-level header files 2009-11-24 10:58:59 -08:00
selftest.c sfc: Do not set net_device::trans_start in self-test 2009-11-26 15:59:55 -08:00
selftest.h
spi.h
tenxpress.c sfc: Simplify PHY polling 2009-11-28 23:58:50 -08:00
tx.c sfc: Combine high-level header files 2009-11-24 10:58:59 -08:00
workarounds.h sfc: Move all TX DMA length limiting into tx.c 2009-10-24 04:27:07 -07:00