Files
kernel-tenderloin-3.0/drivers
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
..
2008-11-29 20:42:28 -08:00
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-12-02 20:40:04 +01:00
2008-12-12 21:21:57 -08:00
2008-11-30 10:03:37 -08:00
2008-11-19 21:40:23 -08:00
2008-11-30 10:03:37 -08:00