From: Tejun Heo Date: Wed, 29 Nov 2006 02:33:14 +0000 (+0900) Subject: [PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers X-Git-Tag: v2.6.20-rc1~34^2~40^2~468^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41669553353554211310cdb23079d58af1fda41e;p=pandora-kernel.git [PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers JMicron AHCI controllers set PORT_IRQ_IF_ERR on device errors. The IRQ status bit indicates interface error or protocol mismatch and ahci driver interprets it into AC_ERR_ATA_BUS. So, whenever an ATAPI device raises check condition, ahci interprets it as ATA bus error and thus resets it which, in turn, raises check condition thus creating a reset loop and rendering the device unuseable. This patch makes JMB controllers ignore PORT_IRQ_IF_ERR when interpreting error condition. Signed-off-by: Tejun Heo Cc: Justin Tsai --- Reading git-diff-tree failed