[PATCH] Make ibook open console without options
Andi Kleen
ak at suse.de
Sat Dec 9 04:40:24 EST 2000
The following patch against linux-pmac-stable allows an ibook to open the initial
console without any command line options. It fixes a trivial bug.
-Andi
--- linux-pmac-stable/drivers/video/aty128fb.c-o Tue Oct 31 03:05:34 2000
+++ linux-pmac-stable/drivers/video/aty128fb.c Thu Feb 11 09:08:39 1904
@@ -1753,12 +1766,15 @@
#ifdef CONFIG_FB_OF
/* New iBook */
- if (machine_is_compatible("PowerBook2,2"))
+ if (machine_is_compatible("PowerBook2,2")) {
+ mac_vmode_to_var(VMODE_800_600_60, default_cmode, &var);
default_vmode = VMODE_800_600_60;
+ }
} else {
if (mac_vmode_to_var(default_vmode, default_cmode, &var))
var = default_var;
}
+
#endif /* CONFIG_FB_OF */
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list