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