From: Albert Lee Date: Sat, 1 Apr 2006 09:38:43 +0000 (+0800) Subject: [PATCH] libata-dev: handle DRQ=1 ERR=1 (revised) X-Git-Tag: v2.6.18-rc1~1079^2~98^2~13^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee6c32f5f114f9b9f2d94862f0dc0d3ff523864;p=pandora-kernel.git [PATCH] libata-dev: handle DRQ=1 ERR=1 (revised) Handle DRQ=1 ERR=1 situation. Revised according to what IDE try_to_flush_leftover_data() does. Changes: - For ATA PIO writes and ATAPI devices, just stop the HSM and let EH handle it. - For ATA PIO reads, read only one block of junk data and then let EH handle it. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed