]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Make OF irq map code detect more error cases
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Aug 2006 04:46:23 +0000 (14:46 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 30 Aug 2006 04:31:03 +0000 (14:31 +1000)
commit006b64de607f895de2ba1e21d3179cddf059128f
treec4eb38d1a3fcb42336475ae261c6624d179308ed
parent7233593b7844c2db930594ee9c0c872a6900bfcc
[POWERPC] Make OF irq map code detect more error cases

Device-tree bugs on js20 with some versions of SLOF were causing the
interrupt for IDE to not be parsed correctly and fail to boot. This
patch adds a bit more sanity checking to the parser to detect some of
those errors and fail instead of returning bogus information.  The
powerpc PCI code can then trigger a fallback that works on those
machines.

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