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