From: Michael Ellerman Date: Fri, 7 Apr 2006 03:56:21 +0000 (+1000) Subject: [PATCH] powerpc: Fix machine detection in prom_init.c X-Git-Tag: v2.6.17-rc2~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f806ceed53776ae5e04c8b334dc9daa0932ad1e;p=pandora-kernel.git [PATCH] powerpc: Fix machine detection in prom_init.c In e8222502ee6157e2713da9e0792c21f4ad458d50 the detection of machine types in prom_init broke for some machines. We should be checking /device_type instead of /model. This should make Power3 and Power4 boot again. Haven't been able to test this. We also need to relocate before comparing. Signed-off-by: Michael Ellerman Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed