kernel_optimize_test/drivers/net/sfc
Ben Hutchings be4ea89c8d sfc: Clean up waits for flash/EEPROM operations
Make falcon_spi_wait() ignore the write timer - it is only relevant to
write commands, it only works for the device that contains VPD, and it
might not be initialised properly at all.

Rename falcon_spi_fast_wait() to falcon_spi_wait_write(), reflecting
its use, and make it wait up to 10 ms (not 1 ms) since buffered writes
to EEPROM may take this long to complete.

Make both wait functions sleep instead of busy-waiting.

Replace wait for command completion at top of falcon_spi_cmd() with a
single poll; no command should be running when the function starts.

Correct some comments.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-12 21:57:35 -08:00
..
bitfield.h sfc: Extend self-tests 2008-09-03 09:53:48 -04:00
boards.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
boards.h sfc: Make PHY flash mode a device attribute, not a module parameter 2008-09-03 09:53:47 -04:00
efx.c sfc: Make reset_workqueue driver-global rather than per-NIC 2008-12-12 21:56:21 -08:00
efx.h sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
enum.h sfc: Do not reset when hardware monitor detects a fault 2008-11-06 00:50:15 -05:00
ethtool.c sfc: Correct interpretation of second param to ethtool phys_id() 2008-12-12 21:56:20 -08:00
ethtool.h
falcon_hwdefs.h sfc: Clean up non-volatile memory partitioning 2008-11-06 00:49:56 -05:00
falcon_io.h sfc: Don't include net_driver.h from falcon_io.h 2008-09-24 18:54:38 -04:00
falcon_xmac.c sfc: Remove workaround for old firmware bug 2008-09-24 18:54:35 -04:00
falcon.c sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
falcon.h sfc: Make queue flushes more reliable 2008-09-24 18:54:37 -04:00
gmii.h
Kconfig sfc: Fix dependency for SFC_MTD 2008-11-20 04:17:42 -08:00
mac.h sfc: Remove remnants of multi-port abstraction for MAC registers 2008-09-03 09:53:48 -04:00
Makefile sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
mdio_10g.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
mdio_10g.h sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
mtd.c sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
net_driver.h sfc: Make reset_workqueue driver-global rather than per-NIC 2008-12-12 21:56:21 -08:00
phy.h sfc: Make PHY flash mode a device attribute, not a module parameter 2008-09-03 09:53:47 -04:00
rx.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
rx.h sfc: Remove some unreachable error paths 2008-09-03 09:53:48 -04:00
selftest.c sfc: Extend self-tests 2008-09-03 09:53:48 -04:00
selftest.h sfc: Extend self-tests 2008-09-03 09:53:48 -04:00
sfe4001.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
spi.h sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
tenxpress.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
tx.c sfc: Use CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS where appropriate 2008-09-24 18:54:42 -04:00
tx.h sfc: Remove some unreachable error paths 2008-09-03 09:53:48 -04:00
workarounds.h sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
xenpack.h
xfp_phy.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00