From: Albert Lee Date: Sat, 25 Mar 2006 10:11:12 +0000 (+0800) Subject: [PATCH] libata-dev: fix the device err check sequence (respin) X-Git-Tag: v2.6.18-rc1~1079^2~98^2~13^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71601958f73b952281f2b02e16d1f11c99ee0a8b;p=pandora-kernel.git [PATCH] libata-dev: fix the device err check sequence (respin) Current irq-pio checks ERR bit and stops on ERR before it does anything else. This behavior doesn't look right. The DRQ bit should take higher precedence than the ERR bit. Changes: - Let the HSM do the data transfer whenever the device asks for DRQ bit, even if the ERR bit is set. - For DRQ=1 ERR=1, don't trust the data Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed