]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbb11a33e1c117402d459b9cdcc4019f58c6d6221
tree3b9f29de777df859406ee649cc5a29b703c026ae
parentef4f7f3bd1a5a97d0a56968e43e334457d06d88a
[POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense

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>
arch/powerpc/sysdev/ipic.c
arch/powerpc/sysdev/ipic.h