summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-04-17 18:44:07 +0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 22:16:03 +0400
commit0f834de3ea61aacacf1fac59ba9e82680f83c846 (patch)
tree3b99ea99281e04ab6dd436f2954981f2cce889bb /include/linux/libata.h
parentf5cda257296fbd3683b1f568f2d94d3caaacf74d (diff)
downloadlinux-0f834de3ea61aacacf1fac59ba9e82680f83c846.tar.xz
libata: convert legacy PCI host handling to new init model
Convert legacy PCI host handling to alloc-init-register model. ata_init_legacy_host(), ata_request_legacy_irqs() and ata_pci_init_bmdma() are separated out and follow the new init model. The two legacy handling functions use separate ata_legacy_devres instead of generic devm_* resources. This reduces devres overhead for legacy hosts which was a bit high because it didn't use PCI/iomap merged resoruces. ata_pci_init_one() is rewritten in terms of the aboved functions but native mode handling is still using the old method. Conversion will be completed when native mode handling is updated. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions