The irq number on powerpc ARCH is now a virtual number.  This change was
introduced by Ben's irq mapping change in early 2.6.18-rc.

- Leo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf Of
> Fredrik Roubert
> Sent: Tuesday, October 24, 2006 12:41 AM
> To: linuxppc-embedded@ozlabs.org
> Subject: ARCH=powerpc: IRQ numbers change mysteriously
> 
> Hi!
> 
> On my MPC8439 based board, running Linux 2.6.18 with ARCH=powerpc, the
> IRQ's for the I2C behave in a for me mysterious way.
> 
> In my DTS file, I have the following:
> 
> 
> [EMAIL PROTECTED] {
>       device_type = "i2c";
>       compatible = "fsl-i2c";
>       reg = <3000 100>;
>       interrupts = <e 8>;
>       interrupt-parent = <&/[EMAIL PROTECTED]/[EMAIL PROTECTED]>;
>       dfsrr;
> };
> 
> [EMAIL PROTECTED] {
>       device_type = "i2c";
>       compatible = "fsl-i2c";
>       reg = <3000 100>;
>       interrupts = <f 8>;
>       interrupt-parent = <&/[EMAIL PROTECTED]/[EMAIL PROTECTED]>;
>       dfsrr;
> };
> 
> 
> But when I boot the system and cat /proc/interrupts, the output says:
> 
> 
> 18:         61   IPIC   Level     i2c-mpc
> 19:          0   IPIC   Level     i2c-mpc
> 
> 
> This doesn't make sense to me. Why are the IRQ numbers changed? They
are
> still adjacent, so it seems to be some logic to the change. Does
anyone
> know what this is?
> 
> Cheers // Fredrik Roubert
> 
> --
> Barco Medical Imaging          |  +32 56 233549
> http://www.barco.com/medical/  |  [EMAIL PROTECTED]
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to