[PATCH 3/4] libata-sff.c: add another IRQ calls

Alan alan at lxorguk.ukuu.org.uk
Tue Jan 16 23:04:50 EST 2007


On Tue, 16 Jan 2007 19:46:23 +0900
Akira Iguchi <akira2.iguchi at toshiba.co.jp> wrote:

> When enabling IRQ, ap->ops->irq_on is checked.
> Because most drivers can use ata_irq_on() as is, this
> patch allows ap->ops->irq_on to be NULL.
> If it is NULL, ata_irq_on() are used.


I believe you can now remove the if(ap->ioaddr.ctl_addr) check as any
device lacking a ctl_addr can now provide an irq_on() method using your
changes.

You've fixed the FIXME 




More information about the Linuxppc-dev mailing list