]> err.no Git - linux-2.6/commit
[POWERPC] mpic: Deal with bogus NIRQ in Feature Reporting Register
authorKumar Gala <galak@kernel.crashing.org>
Wed, 21 May 2008 20:59:23 +0000 (06:59 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 23 May 2008 05:27:26 +0000 (15:27 +1000)
commit475ca391b490a683d66bf19999a8a7a24913f139
treee7818dcd25169b9d9c9ed35723b3cafd2be455fd
parent2ca7633dc73405ee775a2e9b7961b47a38bc882d
[POWERPC] mpic: Deal with bogus NIRQ in Feature Reporting Register

Some chips (like the SoCs from Freescale) report the wrong value in NIRQ
and this causes issues if its doesn't match or exceed the value of
irq_count.

Add a flag that board code can set to just use irq_count instead of
FRR[NIRQ].  Eventually we'll add a device tree property with the number
of sources.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic.c
include/asm-powerpc/mpic.h