From: Hannes Reinecke Date: Mon, 3 Apr 2006 06:19:34 +0000 (+0200) Subject: [SCSI] aic79xx bus reset update X-Git-Tag: v2.6.17-rc2~30^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f41b5cec9bd6fec1b11b74500f5fb9c3e6e808b2;p=pandora-kernel.git [SCSI] aic79xx bus reset update As James B. correctly noted, ahd_reset_channel() in ahd_linux_bus_reset() should be protected by ahd_lock(). However, the main reason for not doing so was a deadlock with the interesting polling mechanism to detect the end a bus reset. This patch replaces the polling mechanism with a saner signalling via flags; it also gives us the benefit of detecting any multiple calls to ahd_reset_channel(). Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed