summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_promise.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-04-17 14:44:07 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-04-28 18:16:03 (GMT)
commit21b0ad4fb8306ac2bf5a249ffc978b1b8924c7d0 (patch)
tree9f82cc6a4bca146ce1021f0825cc12f18f9063b9 /drivers/ata/sata_promise.c
parentd491b27b1959565671e2c05dff09b5f535a854ce (diff)
downloadlinux-fsl-qoriq-21b0ad4fb8306ac2bf5a249ffc978b1b8924c7d0.tar.xz
libata: add init helpers including ata_pci_prepare_native_host()
These will be used to convert LLDs to new init model. * Add irq_handler field to port_info. In new init model, requesting IRQ is LLD's responsibility and libata doesn't need to know about irq_handler. Most LLDs can simply register their irq_handler but some need different irq_handler depending on specific chip. The added port_info->irq_handler field can be used by LLDs to select the matching IRQ handler in such cases. * Add ata_dummy_port_info. * Implement ata_pci_prepare_native_host(), a helper to alloc ATA host, acquire all resources and init the host in one go. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_promise.c')
0 files changed, 0 insertions, 0 deletions