summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-01-18 18:36:28 +0900
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:16 -0500
commit4e6b79fa61091a0ed9b0af0f573cc257772cd88d (patch)
treecd3e9dca0355741713d038b0068cd4ba32f87b56 /include/linux
parentcadb7345d92628d46cccd3765cc15cb9cd6abccf (diff)
downloadop-kernel-dev-4e6b79fa61091a0ed9b0af0f573cc257772cd88d.zip
op-kernel-dev-4e6b79fa61091a0ed9b0af0f573cc257772cd88d.tar.gz
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/linux')
-rw-r--r--include/linux/libata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index ccb0556..4374c42 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);
extern int ata_pci_prepare_sff_host(struct pci_dev *pdev,
const struct ata_port_info * const * ppi,
struct ata_host **r_host);
+extern int ata_pci_activate_sff_host(struct ata_host *host,
+ irq_handler_t irq_handler,
+ struct scsi_host_template *sht);
extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits);
extern unsigned long ata_pci_default_filter(struct ata_device *dev,
unsigned long xfer_mask);
OpenPOWER on IntegriCloud