]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdeb84ad2155893b6e493daa221f4c2a19b6739e7
treefcf0e675caf95c11cb6c436032ce35658e87d4d8
parent6b28c521578a6f73dea2b1098ab9c72769859122
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 0801e233f7496eacdcc19aa2d7c19b61838e064c), 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