|
@@ -2491,9 +2491,7 @@ found:
|
|
pmac_mb.model_id = PMAC_TYPE_COMET;
|
|
pmac_mb.model_id = PMAC_TYPE_COMET;
|
|
iounmap(mach_id_ptr);
|
|
iounmap(mach_id_ptr);
|
|
}
|
|
}
|
|
-#endif /* CONFIG_POWER4 */
|
|
|
|
|
|
|
|
-#ifdef CONFIG_6xx
|
|
|
|
/* Set default value of powersave_nap on machines that support it.
|
|
/* Set default value of powersave_nap on machines that support it.
|
|
* It appears that uninorth rev 3 has a problem with it, we don't
|
|
* It appears that uninorth rev 3 has a problem with it, we don't
|
|
* enable it on those. In theory, the flush-on-lock property is
|
|
* enable it on those. In theory, the flush-on-lock property is
|
|
@@ -2522,10 +2520,11 @@ found:
|
|
* NAP mode
|
|
* NAP mode
|
|
*/
|
|
*/
|
|
powersave_lowspeed = 1;
|
|
powersave_lowspeed = 1;
|
|
-#endif /* CONFIG_6xx */
|
|
|
|
-#ifdef CONFIG_POWER4
|
|
|
|
|
|
+
|
|
|
|
+#else /* CONFIG_POWER4 */
|
|
powersave_nap = 1;
|
|
powersave_nap = 1;
|
|
-#endif
|
|
|
|
|
|
+#endif /* CONFIG_POWER4 */
|
|
|
|
+
|
|
/* Check for "mobile" machine */
|
|
/* Check for "mobile" machine */
|
|
if (model && (strncmp(model, "PowerBook", 9) == 0
|
|
if (model && (strncmp(model, "PowerBook", 9) == 0
|
|
|| strncmp(model, "iBook", 5) == 0))
|
|
|| strncmp(model, "iBook", 5) == 0))
|