[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)
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>

No differences found