diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-19 16:10:22 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-25 19:40:30 -0400 |
commit | 1c5afdf7a629d2e77de8dd043b97a33dcd7e6dfa (patch) | |
tree | 9f29bfdd32dd1bf497167cd7a8f596c7680059dd /include | |
parent | c3b2889424c26f3b42962b6f39aabb4f1fd1b576 (diff) |
libata-sff: separate out BMDMA init
Separate out ata_pci_bmdma_prepare_host() and ata_pci_bmdma_init_one()
from their SFF counterparts. SFF ones no longer try to initialize
BMDMA or set PCI master.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index b76d767e0240..fe2be88bc266 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1644,6 +1644,13 @@ extern int ata_bmdma_port_start32(struct ata_port *ap); | |||
1644 | #ifdef CONFIG_PCI | 1644 | #ifdef CONFIG_PCI |
1645 | extern int ata_pci_bmdma_clear_simplex(struct pci_dev *pdev); | 1645 | extern int ata_pci_bmdma_clear_simplex(struct pci_dev *pdev); |
1646 | extern void ata_pci_bmdma_init(struct ata_host *host); | 1646 | extern void ata_pci_bmdma_init(struct ata_host *host); |
1647 | extern int ata_pci_bmdma_prepare_host(struct pci_dev *pdev, | ||
1648 | const struct ata_port_info * const * ppi, | ||
1649 | struct ata_host **r_host); | ||
1650 | extern int ata_pci_bmdma_init_one(struct pci_dev *pdev, | ||
1651 | const struct ata_port_info * const * ppi, | ||
1652 | struct scsi_host_template *sht, | ||
1653 | void *host_priv, int hflags); | ||
1647 | #endif /* CONFIG_PCI */ | 1654 | #endif /* CONFIG_PCI */ |
1648 | 1655 | ||
1649 | /** | 1656 | /** |