[POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ...
authorKim Phillips <kim.phillips@freescale.com>
Fri, 25 Aug 2006 16:59:07 +0000 (11:59 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 30 Aug 2006 00:34:33 +0000 (10:34 +1000)
This converts ipic code to Benh's IRQ mods.  For the IPIC, IRQ sense values in the device tree equal those in include/linux/irq.h; that's 8 for low assertion (most internal IRQs on mpc83xx), and 2 for high-to-low change.

spinlocks added to [un]mask, ack operations; default handler and type now set in host_map; and redundant condition check eliminated.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found