diff options
author | Tejun Heo <htejun@gmail.com> | 2008-01-18 04:36:28 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:16 -0500 |
commit | 4e6b79fa61091a0ed9b0af0f573cc257772cd88d (patch) | |
tree | cd3e9dca0355741713d038b0068cd4ba32f87b56 /include | |
parent | cadb7345d92628d46cccd3765cc15cb9cd6abccf (diff) |
libata: factor out ata_pci_activate_sff_host() from ata_pci_one()
Factor out ata_pci_activate_sff_host() from ata_pci_one(). This does
about the same thing as ata_host_activate() but needs to be separate
because SFF controllers use different and multiple IRQs in legacy
mode.
This will be used to make SFF LLD initialization more flexible.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index ccb055636f37..4374c4277780 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1033,6 +1033,9 @@ extern int ata_pci_init_bmdma(struct ata_host *host); | |||
1033 | extern int ata_pci_prepare_sff_host(struct pci_dev *pdev, | 1033 | extern int ata_pci_prepare_sff_host(struct pci_dev *pdev, |
1034 | const struct ata_port_info * const * ppi, | 1034 | const struct ata_port_info * const * ppi, |
1035 | struct ata_host **r_host); | 1035 | struct ata_host **r_host); |
1036 | extern int ata_pci_activate_sff_host(struct ata_host *host, | ||
1037 | irq_handler_t irq_handler, | ||
1038 | struct scsi_host_template *sht); | ||
1036 | extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); | 1039 | extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); |
1037 | extern unsigned long ata_pci_default_filter(struct ata_device *dev, | 1040 | extern unsigned long ata_pci_default_filter(struct ata_device *dev, |
1038 | unsigned long xfer_mask); | 1041 | unsigned long xfer_mask); |