libata: factor out ata_pci_activate_sff_host() from ata_pci_one()
authorTejun Heo <htejun@gmail.com>
Fri, 18 Jan 2008 09:36:28 +0000 (18:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:16 +0000 (05:24 -0500)
commit4e6b79fa61091a0ed9b0af0f573cc257772cd88d
treecd3e9dca0355741713d038b0068cd4ba32f87b56
parentcadb7345d92628d46cccd3765cc15cb9cd6abccf
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>
drivers/ata/libata-core.c
drivers/ata/libata-sff.c
include/linux/libata.h