summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_jmicron.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-11-29 11:33:14 +0900
committerTejun Heo <htejun@gmail.com>2006-11-29 14:57:44 +0900
commit41669553353554211310cdb23079d58af1fda41e (patch)
tree2aace00509badc17ad432fa5e2b83f56b6d7453e /drivers/ata/pata_jmicron.c
parent08475a1920aa7acc535324d6991b830fa7625bd8 (diff)
downloadblackbird-op-linux-41669553353554211310cdb23079d58af1fda41e.tar.gz
blackbird-op-linux-41669553353554211310cdb23079d58af1fda41e.zip
[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 <htejun@gmail.com> Cc: Justin Tsai <justin@jmicron.com>
Diffstat (limited to 'drivers/ata/pata_jmicron.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud