diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-08 05:14:56 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-08 21:08:41 +0300 |
commit | 3d46b2e2faa56d12c6d51bf1071fd11abd009d0b (patch) | |
tree | be1b269c820068407c7f289c64948b8f8a63b8b8 /drivers/mtd/nand | |
parent | 6004bda1cce51273ac9e71a39e680831b9ff4503 (diff) | |
download | linux-3d46b2e2faa56d12c6d51bf1071fd11abd009d0b.tar.xz |
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/mtd/nand')
0 files changed, 0 insertions, 0 deletions