Update of /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/video/console
In directory sc8-pr-cvs1:/tmp/cvs-serv14542/ruby-2.6/drivers/video/console
Modified Files:
dummycon.c
Log Message:
/proc/bus/console, hack of /proc/bus/pci, dummy console 2 VCs
Index: dummycon.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/video/console/dummycon.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dummycon.c 12 Sep 2003 08:33:21 -0000 1.2
+++ dummycon.c 16 Sep 2003 06:54:42 -0000 1.3
@@ -111,7 +111,7 @@
memset(vt, 0, sizeof(struct vt_struct));
vt->vt_kmalloced = 1;
vt->vt_sw = &dummy_con;
- display_desc = vt_map_display(vt, 1, MAX_NR_USER_CONSOLES);
+ display_desc = vt_map_display(vt, 1, MIN_NR_CONSOLES);
if (!display_desc) {
kfree(vt);
return -ENODEV;
|