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

No differences found