Finn Thain 02507a80b3 [SCSI] mac_esp: fix PIO mode, take 2
The mac_esp PIO algorithm no longer works in 2.6.31 and crashes my Centris
660av. So here's a better one.

Also, force async with esp_set_offset() rather than esp_slave_configure().

One of the SCSI drives I tested still doesn't like the PIO mode and fails
with "esp: esp0: Reconnect IRQ2 timeout" (the same drive works fine in
PDMA mode).

This failure happens when esp_reconnect_with_tag() tries to read in two
tag bytes but the chip only provides one (0x20). I don't know what causes
this. I decided not to waste any more time trying to fix it because the
best solution is to rip out the PIO mode altogether and use the DMA
engine.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-01-18 10:48:10 -06:00
..
2009-03-28 20:30:18 +00:00
2010-01-17 12:14:03 -06:00
2009-12-10 10:10:56 -06:00
2008-01-11 18:22:30 -06:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-10-31 12:11:38 -07:00
2010-01-18 10:48:07 -06:00
2008-08-29 02:13:10 -07:00
2008-10-09 08:56:13 +02:00
2010-01-18 10:48:08 -06:00
2009-12-22 14:17:56 -08:00
2010-01-18 10:48:10 -06:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-07-02 15:06:25 -06:00
2009-12-10 08:54:15 -06:00
2008-02-07 18:02:44 -06:00
2009-12-10 08:54:13 -06:00
2009-12-10 08:54:13 -06:00
2008-10-23 11:42:19 -05:00
2010-01-18 10:48:07 -06:00
2007-10-19 23:22:55 +02:00