aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-07-04 05:02:07 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-10 21:27:09 -0400
commitd583bc18812f8da52bf25eef9cd111e5fd46a6ab (patch)
tree7b886a4ce61b7c0bf8085da5e56b323a9a2fa193 /drivers/ata/libata-core.c
parent35142ddbf7d81ff3f1d9521611e734b8d5014df2 (diff)
libata: simplify PCI legacy SFF host handling
With PCI resource fix up for legacy hosts. We can use the same code path to allocate IO resources and initialize host for both legacy and native SFF hosts. Only IRQ requesting needs to be different. Rename ata_pci_*_native_host() to ata_pci_*_sff_host(), kill all legacy specific functions and use the renamed functions instead. This simplifies code a lot. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 257fda90e527..681693534f4f 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6925,9 +6925,9 @@ EXPORT_SYMBOL_GPL(ata_timing_merge);
6925 6925
6926#ifdef CONFIG_PCI 6926#ifdef CONFIG_PCI
6927EXPORT_SYMBOL_GPL(pci_test_config_bits); 6927EXPORT_SYMBOL_GPL(pci_test_config_bits);
6928EXPORT_SYMBOL_GPL(ata_pci_init_native_host); 6928EXPORT_SYMBOL_GPL(ata_pci_init_sff_host);
6929EXPORT_SYMBOL_GPL(ata_pci_init_bmdma); 6929EXPORT_SYMBOL_GPL(ata_pci_init_bmdma);
6930EXPORT_SYMBOL_GPL(ata_pci_prepare_native_host); 6930EXPORT_SYMBOL_GPL(ata_pci_prepare_sff_host);
6931EXPORT_SYMBOL_GPL(ata_pci_init_one); 6931EXPORT_SYMBOL_GPL(ata_pci_init_one);
6932EXPORT_SYMBOL_GPL(ata_pci_remove_one); 6932EXPORT_SYMBOL_GPL(ata_pci_remove_one);
6933#ifdef CONFIG_PM 6933#ifdef CONFIG_PM