diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-08 11:14:56 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-08 13:08:41 -0500 |
commit | 3d46b2e2faa56d12c6d51bf1071fd11abd009d0b (patch) | |
tree | be1b269c820068407c7f289c64948b8f8a63b8b8 /drivers/ata/pata_platform.c | |
parent | 6004bda1cce51273ac9e71a39e680831b9ff4503 (diff) | |
download | linux-stable-3d46b2e2faa56d12c6d51bf1071fd11abd009d0b.tar.gz linux-stable-3d46b2e2faa56d12c6d51bf1071fd11abd009d0b.tar.bz2 linux-stable-3d46b2e2faa56d12c6d51bf1071fd11abd009d0b.zip |
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