aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/setup.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-11-04 21:57:45 -0500
committerOlof Johansson <olof@lixom.net>2007-11-29 23:30:47 -0500
commit0d08a84770cb03aea24268e515342d44df8ea588 (patch)
tree91709fffba8ef377b6bada9f911e7e39f48cb649 /arch/powerpc/platforms/pasemi/setup.c
parent2dd3c0016090543e12aa0c5aee574ded6a88b886 (diff)
[POWERPC] pasemi: Broaden specific references to 1682M
There will be more product numbers in the future than just PA6T-1682M, but they will share much of the features. Remove some of the explicit references and compatibility checks with 1682M, and replace most of them with the more generic term "PWRficient". Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Michael Buesch <mb@bu3sch.de> Acked-by: Doug Thompson <dougthompson@xmission.com>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/setup.c')
-rw-r--r--arch/powerpc/platforms/pasemi/setup.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c
index 3d62060498b4..bd85853bc9da 100644
--- a/arch/powerpc/platforms/pasemi/setup.c
+++ b/arch/powerpc/platforms/pasemi/setup.c
@@ -362,8 +362,12 @@ static inline void pasemi_pcmcia_init(void)
362 362
363 363
364static struct of_device_id pasemi_bus_ids[] = { 364static struct of_device_id pasemi_bus_ids[] = {
365 /* Unfortunately needed for legacy firmwares */
365 { .type = "localbus", }, 366 { .type = "localbus", },
366 { .type = "sdc", }, 367 { .type = "sdc", },
368 /* These are the proper entries, which newer firmware uses */
369 { .compatible = "pasemi,localbus", },
370 { .compatible = "pasemi,sdc", },
367 {}, 371 {},
368}; 372};
369 373
@@ -389,7 +393,8 @@ static int __init pas_probe(void)
389{ 393{
390 unsigned long root = of_get_flat_dt_root(); 394 unsigned long root = of_get_flat_dt_root();
391 395
392 if (!of_flat_dt_is_compatible(root, "PA6T-1682M")) 396 if (!of_flat_dt_is_compatible(root, "PA6T-1682M") &&
397 !of_flat_dt_is_compatible(root, "pasemi,pwrficient"))
393 return 0; 398 return 0;
394 399
395 hpte_init_native(); 400 hpte_init_native();
@@ -400,7 +405,7 @@ static int __init pas_probe(void)
400} 405}
401 406
402define_machine(pasemi) { 407define_machine(pasemi) {
403 .name = "PA Semi PA6T-1682M", 408 .name = "PA Semi PWRficient",
404 .probe = pas_probe, 409 .probe = pas_probe,
405 .setup_arch = pas_setup_arch, 410 .setup_arch = pas_setup_arch,
406 .init_early = pas_init_early, 411 .init_early = pas_init_early,