diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-25 09:16:42 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:18 -0400 |
commit | 071ce34d57924edb76b76f7de460eb4991463959 (patch) | |
tree | 10400b05bd2649fe25a8c3aa4d41c08bd29c6347 /include/linux/libata.h | |
parent | 624d5c514eed18d5a93062e9d86d67065175f30a (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.h | 4 |
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); | |||
1378 | extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc); | 1378 | extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc); |
1379 | extern int ata_sff_port_start(struct ata_port *ap); | 1379 | extern int ata_sff_port_start(struct ata_port *ap); |
1380 | extern void ata_std_ports(struct ata_ioports *ioaddr); | 1380 | extern void ata_std_ports(struct ata_ioports *ioaddr); |
1381 | extern unsigned long ata_pci_default_filter(struct ata_device *dev, | ||
1382 | unsigned long xfer_mask); | ||
1381 | extern void ata_bmdma_setup(struct ata_queued_cmd *qc); | 1383 | extern void ata_bmdma_setup(struct ata_queued_cmd *qc); |
1382 | extern void ata_bmdma_start(struct ata_queued_cmd *qc); | 1384 | extern void ata_bmdma_start(struct ata_queued_cmd *qc); |
1383 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); | 1385 | extern 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 |
1388 | extern int ata_pci_clear_simplex(struct pci_dev *pdev); | 1390 | extern int ata_pci_clear_simplex(struct pci_dev *pdev); |
1389 | extern unsigned long ata_pci_default_filter(struct ata_device *dev, | ||
1390 | unsigned long xfer_mask); | ||
1391 | extern int ata_pci_init_bmdma(struct ata_host *host); | 1391 | extern int ata_pci_init_bmdma(struct ata_host *host); |
1392 | extern int ata_pci_init_sff_host(struct ata_host *host); | 1392 | extern int ata_pci_init_sff_host(struct ata_host *host); |
1393 | extern int ata_pci_prepare_sff_host(struct pci_dev *pdev, | 1393 | extern int ata_pci_prepare_sff_host(struct pci_dev *pdev, |