patch-2.4.11-dontuse linux/drivers/video/controlfb.c
Next file: linux/drivers/video/fbgen.c
Previous file: linux/drivers/video/clgenfb.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue Oct 2 09:10:31 2001
- Orig file:
v2.4.10/linux/drivers/video/controlfb.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/video/controlfb.c linux/drivers/video/controlfb.c
@@ -51,6 +51,7 @@
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/pgtable.h>
+#include <asm/btext.h>
#include <video/fbcon.h>
#include <video/fbcon-cfb8.h>
@@ -757,6 +758,12 @@
console_fb_info = &p->info;
}
#endif /* CONFIG_FB_COMPAT_XPMAC */
+#ifdef CONFIG_BOOTX_TEXT
+ btext_update_display(p->frame_buffer_phys + CTRLFB_OFF,
+ p->par.xres, p->par.yres,
+ (cmode == CMODE_32? 32: cmode == CMODE_16? 16: 8),
+ p->par.pitch);
+#endif /* CONFIG_BOOTX_TEXT */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)