[PATCH 2/4] libata-core.c: add another IRQ calls

Alan alan at lxorguk.ukuu.org.uk
Tue Jan 16 23:03:35 EST 2007


On Tue, 16 Jan 2007 19:46:14 +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.


Acked-by: Alan Cox <alan at redhat.com>


Jeff - at some point we could eliminate a lot of the NULL checks like
these by having the registration code fill in the defaults where
appropriate ?

Alan



More information about the Linuxppc-dev mailing list