diff options
author | Tejun Heo <htejun@gmail.com> | 2007-04-17 23:44:07 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 14:16:03 -0400 |
commit | 21b0ad4fb8306ac2bf5a249ffc978b1b8924c7d0 (patch) | |
tree | 9f82cc6a4bca146ce1021f0825cc12f18f9063b9 /drivers/ata/sata_via.c | |
parent | d491b27b1959565671e2c05dff09b5f535a854ce (diff) | |
download | blackbird-op-linux-21b0ad4fb8306ac2bf5a249ffc978b1b8924c7d0.tar.gz blackbird-op-linux-21b0ad4fb8306ac2bf5a249ffc978b1b8924c7d0.zip |
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_via.c')
0 files changed, 0 insertions, 0 deletions