From: Albert Lee Date: Thu, 15 Nov 2007 01:35:46 +0000 (+0900) Subject: libata: workaround DRQ=1 ERR=1 for ATAPI tape drives X-Git-Tag: v2.6.24-rc4~102^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d3b8eea7f2fbafd5d779cc92f7aedbd1ef575e9;p=pandora-kernel.git libata: workaround DRQ=1 ERR=1 for ATAPI tape drives After an error condition, some ATAPI tape drives set DRQ=1 together with ERR=1 when asking the host to transfer the CDB of the next packet command (i.e. request sense). This patch, a revised version of Alan/Mark's previous patch, adds ATA_HORKAGE_STUCK_ERR to workaround the problem by ignoring the ERR bit and proceed sending the CDB. Signed-off-by: Albert Lee Cc: Alan Cox Cc: Mark Lord Signed-off-by: Tejun Heo --- Reading git-diff-tree failed