Skip to content

Commit

Permalink
[POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_ty…
Browse files Browse the repository at this point in the history
…pe 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>
  • Loading branch information
Kim Phillips authored and Paul Mackerras committed Aug 30, 2006
1 parent bf4152d commit b9f0f1b
Show file tree
Hide file tree
Showing 2 changed files with 228 additions and 98 deletions.
Loading

0 comments on commit b9f0f1b

Please sign in to comment.