Re: [PATCH v3 2/9] ipic: add new interrupts introduced by new chip
From: Kumar Gala <hidden>
Date: 2007-10-17 13:45:13
On Oct 12, 2007, at 8:28 AM, Li Yang wrote:
quoted hunk ↗ jump to hunk
These interrupts are introduced by the latest Freescale SoC such as MPC837x. The patch also adds comment to interrupts. Signed-off-by: Li Yang <redacted> --- arch/powerpc/sysdev/ipic.c | 224 +++++++++++++++++++++++++++++++++ +---------- arch/powerpc/sysdev/ipic.h | 7 +- include/asm-powerpc/ipic.h | 12 ++- 3 files changed, 186 insertions(+), 57 deletions(-)diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c index 05a56e5..cd8590d 100644 --- a/arch/powerpc/sysdev/ipic.c +++ b/arch/powerpc/sysdev/ipic.c@@ -33,7 +33,31 @@ static struct ipic * primary_ipic; static DEFINE_SPINLOCK(ipic_lock); static struct ipic_info ipic_info[] = { - [9] = { + [1] = { /* PEX1 CNT */
Remove the comments, they are not correct for all IPIC users and thus misleading.
+ .pend = IPIC_SIPNR_H, + .mask = IPIC_SIMSR_H, + .prio = IPIC_SIPRR_C, + .force = IPIC_SIFCR_H, + .bit = 16, + .prio_mask = 0, + },
[snip] - k