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>
Esse commit está contido em:
@@ -1110,7 +1110,7 @@ static int __devinit pata_macio_common_init(struct pata_macio_priv *priv,
|
||||
|
||||
/* Start it up */
|
||||
priv->irq = irq;
|
||||
return ata_host_activate(priv->host, irq, ata_sff_interrupt, 0,
|
||||
return ata_host_activate(priv->host, irq, ata_bmdma_interrupt, 0,
|
||||
&pata_macio_sht);
|
||||
}
|
||||
|
||||
|
Referência em uma nova issue
Block a user