patch-2.1.124 linux/drivers/char/mem.c
Next file: linux/drivers/char/pty.c
Previous file: linux/drivers/char/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Oct 1 10:03:16 1998
- Orig file:
v2.1.123/linux/drivers/char/mem.c
- Orig date:
Mon Sep 28 10:51:33 1998
diff -u --recursive --new-file v2.1.123/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -44,6 +44,12 @@
#ifdef CONFIG_FB
extern void fbmem_init(void);
#endif
+#ifdef CONFIG_PROM_CONSOLE
+extern void prom_con_init(void);
+#endif
+#ifdef CONFIG_MDA_CONSOLE
+extern void mda_console_init(void);
+#endif
static ssize_t do_write_mem(struct file * file, void *p, unsigned long realp,
const char * buf, size_t count, loff_t *ppos)
@@ -544,6 +550,12 @@
rand_initialize();
#if defined (CONFIG_FB)
fbmem_init();
+#endif
+#if defined (CONFIG_PROM_CONSOLE)
+ prom_con_init();
+#endif
+#if defined (CONFIG_MDA_CONSOLE)
+ mda_console_init();
#endif
tty_init();
#ifdef CONFIG_PRINTER
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov