aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-25 09:16:42 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:18 -0400
commit071ce34d57924edb76b76f7de460eb4991463959 (patch)
tree10400b05bd2649fe25a8c3aa4d41c08bd29c6347 /include/linux/libata.h
parent624d5c514eed18d5a93062e9d86d67065175f30a (diff)
libata: move ata_pci_default_filter() out of CONFIG_PCI
ata_pci_default_filter() doesn't really have anything to do with PCI. It's generally applicable to BMDMA controllers. Move it out of CONFIG_PCI. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 673f34b256ba..53b8db05a1fb 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1378,6 +1378,8 @@ extern void ata_bmdma_error_handler(struct ata_port *ap);
1378extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc); 1378extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc);
1379extern int ata_sff_port_start(struct ata_port *ap); 1379extern int ata_sff_port_start(struct ata_port *ap);
1380extern void ata_std_ports(struct ata_ioports *ioaddr); 1380extern void ata_std_ports(struct ata_ioports *ioaddr);
1381extern unsigned long ata_pci_default_filter(struct ata_device *dev,
1382 unsigned long xfer_mask);
1381extern void ata_bmdma_setup(struct ata_queued_cmd *qc); 1383extern void ata_bmdma_setup(struct ata_queued_cmd *qc);
1382extern void ata_bmdma_start(struct ata_queued_cmd *qc); 1384extern void ata_bmdma_start(struct ata_queued_cmd *qc);
1383extern void ata_bmdma_stop(struct ata_queued_cmd *qc); 1385extern void ata_bmdma_stop(struct ata_queued_cmd *qc);
@@ -1386,8 +1388,6 @@ extern void ata_bus_reset(struct ata_port *ap);
1386 1388
1387#ifdef CONFIG_PCI 1389#ifdef CONFIG_PCI
1388extern int ata_pci_clear_simplex(struct pci_dev *pdev); 1390extern int ata_pci_clear_simplex(struct pci_dev *pdev);
1389extern unsigned long ata_pci_default_filter(struct ata_device *dev,
1390 unsigned long xfer_mask);
1391extern int ata_pci_init_bmdma(struct ata_host *host); 1391extern int ata_pci_init_bmdma(struct ata_host *host);
1392extern int ata_pci_init_sff_host(struct ata_host *host); 1392extern int ata_pci_init_sff_host(struct ata_host *host);
1393extern int ata_pci_prepare_sff_host(struct pci_dev *pdev, 1393extern int ata_pci_prepare_sff_host(struct pci_dev *pdev,