libata: pata_platform: Support polling-mode configuration.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 8 Nov 2007 02:15:21 +0000 (11:15 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 8 Nov 2007 18:08:41 +0000 (13:08 -0500)
commitf7fc0ceb4d72ea5c40d50053b68ebecfbd0cc38c
treefcf0e675caf95c11cb6c436032ce35658e87d4d8
parent3d46b2e2faa56d12c6d51bf1071fd11abd009d0b
libata: pata_platform: Support polling-mode configuration.

Some SH boards (old R2D-1 boards) have generally not had working CF
under libata, due to both buswidth issues (handled by Aoi Shinkai
in 43f4b8c7578b928892b6f01d374346ae14e5eb70), and buggy interrupt
controllers. For these sorts of boards simply disabling the IRQ and
polling ends up working fine.

This conditionalizes the IRQ resource for pata_platform and lets
platforms that want to use polling mode simply omit the resource
entirely.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_platform.c
This page took 0.025079 seconds and 5 git commands to generate.