From: Mark Lord Date: Fri, 19 May 2006 20:21:03 +0000 (-0400) Subject: [PATCH] sata_mv: prevent unnecessary double-resets X-Git-Tag: v2.6.17-rc5~77^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b358e305c1d783c8a4ebf00344e95deb9e38f3d;p=pandora-kernel.git [PATCH] sata_mv: prevent unnecessary double-resets The mv_err_intr() function is invoked from the driver's interrupt handler, as well as from the timeout function. This patch prevents it from triggering a one-after-the-other double reset of the controller when invoked from the timeout function. This also adds a check for a timeout race condition that has been observed to occur with this driver in earlier kernels. This should not be needed, in theory, but in practice it has caught bugs. Maybe nuke it at a later date. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed