[SCSI] fix command retries in spi_transport class
authorJames Bottomley <James.Bottomley@steeleye.com>
Sun, 1 May 2005 23:58:15 +0000 (18:58 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 5 May 2005 21:08:59 +0000 (16:08 -0500)
The premise is that domain validation is likely to trigger errors which
it wants to know about, so the only time it should be retrying them is
when it gets a unit attention (likely as the result of a previous bus or
device reset).  Ironically, the previous coding retried three times in
all cases except those of unit attention.  The attached fixes this to do
the right thing.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found