libata-sff: separate out BMDMA irq handler
authorTejun Heo <tj@kernel.org>
Wed, 19 May 2010 20:10:21 +0000 (22:10 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 25 May 2010 23:40:24 +0000 (19:40 -0400)
commitc3b2889424c26f3b42962b6f39aabb4f1fd1b576
treec131d260c18815cb84331357db75c17dabf083d8
parent37f65b8bc262a5ae4c8e58be92fe3032f0aaaf04
libata-sff: separate out BMDMA irq handler

Separate out BMDMA irq handler from SFF irq handler.  The misnamed
host_intr() functions are renamed to ata_sff_port_intr() and
ata_bmdma_port_intr().  Common parts are factored into
__ata_sff_port_intr() and __ata_sff_interrupt() and used by sff and
bmdma interrupt routines.

All BMDMA drivers now use ata_bmdma_interrupt() or
ata_bmdma_port_intr() while all non-BMDMA SFF ones use
ata_sff_interrupt() or ata_sff_port_intr().

For now, ata_pci_sff_init_one() uses ata_bmdma_interrupt() as it's
used by both SFF and BMDMA drivers.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
22 files changed:
drivers/ata/ata_piix.c
drivers/ata/libata-sff.c
drivers/ata/pata_atp867x.c
drivers/ata/pata_cs5520.c
drivers/ata/pata_hpt3x3.c
drivers/ata/pata_icside.c
drivers/ata/pata_macio.c
drivers/ata/pata_mpc52xx.c
drivers/ata/pata_ninja32.c
drivers/ata/pata_pdc2027x.c
drivers/ata/pata_rdc.c
drivers/ata/pata_scc.c
drivers/ata/pata_sil680.c
drivers/ata/sata_mv.c
drivers/ata/sata_nv.c
drivers/ata/sata_qstor.c
drivers/ata/sata_sis.c
drivers/ata/sata_svw.c
drivers/ata/sata_uli.c
drivers/ata/sata_via.c
drivers/ata/sata_vsc.c
include/linux/libata.h