From: Vasily Averin Date: Sun, 27 Nov 2005 17:15:06 +0000 (+0300) Subject: [SCSI] aic7xxx: reset handler selects a wrong command X-Git-Tag: v2.6.15-rc5~14^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dce200670d63615120de17d4aed0a4fd777cc825;p=pandora-kernel.git [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 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 --- Reading git-diff-tree failed