summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_transport_spi.c
diff options
context:
space:
mode:
authorVasily Averin <vvs@sw.ru>2005-11-27 20:15:06 +0300
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-28 12:28:26 -0600
commitdce200670d63615120de17d4aed0a4fd777cc825 (patch)
tree9b03473919e5e8f43ad2c85d300e9e8071102e97 /drivers/scsi/scsi_transport_spi.c
parent458af5439fe7ae7d95ca14106844e61f0795166c (diff)
[SCSI] aic7xxx: reset handler selects a wrong command
To transport scsi reset command to device aic7xxx reset handler looks at the driver's pending_list and searches any proper command. However the search condition has been inverted: ahc_match_scb() returns TRUE if a matched command is found. As a result the reset on required devices did not turn out well, a correctly working neighbour device may be surprised by the reset. aic7xxx reset handler reports about the success, but really the original situation is not corrected yet. Signed-off-by: Vasily Averin <vvs@sw.ru> Naturally, there's a corresponding problem in the aic79xx driver, so I've also added the same fix for that. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_spi.c')
0 files changed, 0 insertions, 0 deletions