powerpc/5200: Refactor mpc5200 interrupt controller driver
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Feb 2009 20:33:20 +0000 (13:33 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Feb 2009 20:33:20 +0000 (13:33 -0700)
commit8f2558ded599c10d96a56fbf12849a27f6ab7997
tree00e0893df8d0d5a4e9f726c65cce724a61c038ce
parentbc4346fe2733dcca723d6b8f188bc44b54eac847
powerpc/5200: Refactor mpc5200 interrupt controller driver

Rework the mpc5200-pic driver to simplify it and fix up the setting
of desc->status when set_type is called for internal IRQs (so they
are reported as level, not edge).  The simplification is due to
splitting off the handling of external IRQs into a separate block
so they don't need to be handled as exceptions in the normal
CRIT, MAIN and PERP paths.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/mpc52xx_pic.c