Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv7102
Modified Files:
setup.c
Log Message:
When CONFIG_FB is enabled, set a dummy console before cons_init so that VT's
will be allocated. This is commented out for now since it causes problems.
Index: setup.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/setup.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- setup.c 9 Apr 2002 13:50:55 -0000 1.18
+++ setup.c 2 Aug 2003 23:44:46 -0000 1.19
@@ -16,6 +16,7 @@
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/seq_file.h>
+#include <linux/console.h>
#include <asm/rpb.h>
#include <asm/page.h>
@@ -176,6 +177,12 @@
#ifdef __SMP__
setup_smp();
+#endif
+
+#ifdef CONFIG_FB
+ /* we need a dummy console up at cons_init time, otherwise there'll be
+ no VT's allocated for the real fbdev console to later take over */
+ /* conswitchp = &dummy_con; */
#endif
}
|