aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-04-17 10:44:07 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:16:03 -0400
commitd491b27b1959565671e2c05dff09b5f535a854ce (patch)
tree207711a735f7460649f21bd9eedff04eb55afa11 /include/linux/libata.h
parent0f834de3ea61aacacf1fac59ba9e82680f83c846 (diff)
libata: convert native PCI host handling to new init model
Convert native PCI host handling to alloc-init-register model. New function ata_pci_init_native_host() follows the new init model and replaces ata_pci_init_native_mode(). As there are remaining LLD users, the old function isn't removed yet. ata_pci_init_one() is reimplemented using the new function and now fully converted to new init model. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 300daf6c50d0..400429f9cd9d 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -892,6 +892,8 @@ struct pci_bits {
892 892
893extern struct ata_probe_ent * 893extern struct ata_probe_ent *
894ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); 894ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask);
895extern int ata_pci_init_native_host(struct ata_host *host,
896 unsigned int port_mask);
895extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); 897extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits);
896extern unsigned long ata_pci_default_filter(struct ata_device *, unsigned long); 898extern unsigned long ata_pci_default_filter(struct ata_device *, unsigned long);
897#endif /* CONFIG_PCI */ 899#endif /* CONFIG_PCI */