[POWERPC] Workaround oldworld OF bug with IRQs & P2P bridges
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 14 Dec 2006 20:13:26 +0000 (07:13 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Dec 2006 05:37:47 +0000 (16:37 +1100)
commit6f67f9d26fe5ced50f716e9620b42c0721d8b8d9
treee03f4476dba4782c86dd5749ae3d3a36f35a7845
parent3cd7613e25ffc0a76080045e179f984a32208829
[POWERPC] Workaround oldworld OF bug with IRQs & P2P bridges

On some oldworld PowerMacs, OF doesn't assign interrupts properly
beyond P2P bridges. Fortunately, the fix is easy as all those machines
just wire all IRQ lines together to one IRQ which is assigned to the
bridge itself. We already have a special function for parsing Apple
OldWorld interrupts which are special, so let's add to it the ability
to walk up the PCI tree to find interrupts.

This fixes irqs on the lower slots of s900 clones among others.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c