[PATCH v3 2/9] ipic: add new interrupts introduced by new chip
Kumar Gala
galak at kernel.crashing.org
Wed Oct 17 23:45:45 EST 2007
On Oct 12, 2007, at 8:28 AM, Li Yang wrote:
> These interrupts are introduced by the latest Freescale SoC such as
> MPC837x. The patch also adds comment to interrupts.
>
> Signed-off-by: Li Yang <leoli at freescale.com>
> ---
> 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
More information about the Linuxppc-dev
mailing list