diff options
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 5908690d0868..57d8a16438a0 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -776,6 +776,7 @@ static void __init prom_send_capabilities(void) | |||
776 | /* try calling the ibm,client-architecture-support method */ | 776 | /* try calling the ibm,client-architecture-support method */ |
777 | if (call_prom_ret("call-method", 3, 2, &ret, | 777 | if (call_prom_ret("call-method", 3, 2, &ret, |
778 | ADDR("ibm,client-architecture-support"), | 778 | ADDR("ibm,client-architecture-support"), |
779 | root, | ||
779 | ADDR(ibm_architecture_vec)) == 0) { | 780 | ADDR(ibm_architecture_vec)) == 0) { |
780 | /* the call exists... */ | 781 | /* the call exists... */ |
781 | if (ret) | 782 | if (ret) |
@@ -1541,6 +1542,15 @@ static int __init prom_find_machine_type(void) | |||
1541 | if (strstr(p, RELOC("Power Macintosh")) || | 1542 | if (strstr(p, RELOC("Power Macintosh")) || |
1542 | strstr(p, RELOC("MacRISC"))) | 1543 | strstr(p, RELOC("MacRISC"))) |
1543 | return PLATFORM_POWERMAC; | 1544 | return PLATFORM_POWERMAC; |
1545 | #ifdef CONFIG_PPC64 | ||
1546 | /* We must make sure we don't detect the IBM Cell | ||
1547 | * blades as pSeries due to some firmware issues, | ||
1548 | * so we do it here. | ||
1549 | */ | ||
1550 | if (strstr(p, RELOC("IBM,CBEA")) || | ||
1551 | strstr(p, RELOC("IBM,CPBW-1.0"))) | ||
1552 | return PLATFORM_GENERIC; | ||
1553 | #endif /* CONFIG_PPC64 */ | ||
1544 | i += sl + 1; | 1554 | i += sl + 1; |
1545 | } | 1555 | } |
1546 | } | 1556 | } |