diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-16 20:01:19 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-16 20:01:19 -0500 |
commit | 23dd64011285010ac291f7dddf6e287bdb43a0ad (patch) | |
tree | 0e4f4569d38d82f4dceb4150d5ad940e0fd5f24f /arch/powerpc/platforms/powermac | |
parent | 516450179454de9e689e0a53ed8f34b896e8651c (diff) | |
parent | 485ff09990416c75ae9593ddc71619939ab9dd51 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r-- | arch/powerpc/platforms/powermac/feature.c | 9 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index c8b4a2b115a9..e49eddd5042d 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c | |||
@@ -2489,9 +2489,7 @@ found: | |||
2489 | pmac_mb.model_id = PMAC_TYPE_COMET; | 2489 | pmac_mb.model_id = PMAC_TYPE_COMET; |
2490 | iounmap(mach_id_ptr); | 2490 | iounmap(mach_id_ptr); |
2491 | } | 2491 | } |
2492 | #endif /* CONFIG_POWER4 */ | ||
2493 | 2492 | ||
2494 | #ifdef CONFIG_6xx | ||
2495 | /* Set default value of powersave_nap on machines that support it. | 2493 | /* Set default value of powersave_nap on machines that support it. |
2496 | * It appears that uninorth rev 3 has a problem with it, we don't | 2494 | * It appears that uninorth rev 3 has a problem with it, we don't |
2497 | * enable it on those. In theory, the flush-on-lock property is | 2495 | * enable it on those. In theory, the flush-on-lock property is |
@@ -2520,10 +2518,11 @@ found: | |||
2520 | * NAP mode | 2518 | * NAP mode |
2521 | */ | 2519 | */ |
2522 | powersave_lowspeed = 1; | 2520 | powersave_lowspeed = 1; |
2523 | #endif /* CONFIG_6xx */ | 2521 | |
2524 | #ifdef CONFIG_POWER4 | 2522 | #else /* CONFIG_POWER4 */ |
2525 | powersave_nap = 1; | 2523 | powersave_nap = 1; |
2526 | #endif | 2524 | #endif /* CONFIG_POWER4 */ |
2525 | |||
2527 | /* Check for "mobile" machine */ | 2526 | /* Check for "mobile" machine */ |
2528 | if (model && (strncmp(model, "PowerBook", 9) == 0 | 2527 | if (model && (strncmp(model, "PowerBook", 9) == 0 |
2529 | || strncmp(model, "iBook", 5) == 0)) | 2528 | || strncmp(model, "iBook", 5) == 0)) |
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 97c54e19c1b5..385aab90c4d2 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
@@ -621,10 +621,6 @@ static void __init pmac_init_early(void) | |||
621 | /* Probe motherboard chipset */ | 621 | /* Probe motherboard chipset */ |
622 | pmac_feature_init(); | 622 | pmac_feature_init(); |
623 | 623 | ||
624 | /* We can NAP */ | ||
625 | powersave_nap = 1; | ||
626 | printk(KERN_INFO "Using native/NAP idle loop\n"); | ||
627 | |||
628 | /* Initialize debug stuff */ | 624 | /* Initialize debug stuff */ |
629 | udbg_scc_init(!!strstr(cmd_line, "sccdbg")); | 625 | udbg_scc_init(!!strstr(cmd_line, "sccdbg")); |
630 | udbg_adb_init(!!strstr(cmd_line, "btextdbg")); | 626 | udbg_adb_init(!!strstr(cmd_line, "btextdbg")); |