Update of /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/video/console
In directory sc8-pr-cvs1:/tmp/cvs-serv2176/ruby-2.6/drivers/video/console
Modified Files:
fbcon.c
Log Message:
recognize modular fbcon though
Index: fbcon.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/video/console/fbcon.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- fbcon.c 28 Oct 2003 07:14:53 -0000 1.3
+++ fbcon.c 5 Dec 2003 12:11:21 -0000 1.4
@@ -2272,23 +2272,6 @@
.con_resize = fbcon_resize,
};
-int fbcon_resize_all(struct fb_info *info)
-{
- struct vt_struct *vt = info->display_fg;
- struct vc_data *vc;
- int i;
-
- if(!vt)
- return -ENODEV;
-
- vc = vt->default_mode;
- vc->vc_cols = info->var.xres/vc->vc_font.width;
- vc->vc_rows = info->var.yres/vc->vc_font.height;
- for(i = 0; i < vt->vc_count; i++)
- vc_resize(vt->vc_cons[i], vc->vc_cols, vc->vc_rows);
- return 0;
-}
-
int fbcon_add(int unit, int vc_count)
{
const char *display_desc = NULL;
@@ -2349,12 +2332,14 @@
}
else
fbcon_add(unit, vt2fb[unit]);
+ fb_console_active(1);
return 0;
}
void __exit fb_console_exit(void)
{
// give_up_console(&fb_con);
+ fb_console_active(0);
}
module_init(fb_console_init);
|