summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 11:14:56 +0900
committerJeff Garzik <jeff@garzik.org>2007-11-08 13:08:41 -0500
commit3d46b2e2faa56d12c6d51bf1071fd11abd009d0b (patch)
treebe1b269c820068407c7f289c64948b8f8a63b8b8 /drivers/ata/pata_platform.c
parent6004bda1cce51273ac9e71a39e680831b9ff4503 (diff)
libata: Support PIO polling-only hosts.
By default ata_host_activate() expects a valid IRQ in order to successfully register the host. This patch enables a special case for registering polling-only hosts that either don't have IRQs or have buggy IRQ generation (either in terms of handling or sensing), which otherwise work fine. Hosts that want to use polling mode can simply set ATA_FLAG_PIO_POLLING and pass in an invalid IRQ. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_platform.c')
0 files changed, 0 insertions, 0 deletions