From: Benjamin Herrenschmidt Date: Fri, 25 Aug 2006 04:46:23 +0000 (+1000) Subject: [POWERPC] Make OF irq map code detect more error cases X-Git-Tag: v2.6.18-rc6~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=006b64de607f895de2ba1e21d3179cddf059128f;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed