aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-05-01 19:58:15 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-05-05 17:08:59 -0400
commit949bf797595fc99d4cadf9a294fe6fd32a4474e6 (patch)
tree0c91a5d3822785a5608db8a4970f40ea857a9e7b /drivers/scsi/sg.c
parent69b528936b702d4c13ffa0d14215a029dc754e50 (diff)
[SCSI] fix command retries in spi_transport class
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>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions