diff options
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/fbcon.c | 5 | ||||
-rw-r--r-- | drivers/video/console/vgacon.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 59e3b4b4e7e3..b209adbd508a 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -906,10 +906,13 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
906 | struct vc_data *svc = *default_mode; | 906 | struct vc_data *svc = *default_mode; |
907 | struct display *t, *p = &fb_display[vc->vc_num]; | 907 | struct display *t, *p = &fb_display[vc->vc_num]; |
908 | int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; | 908 | int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; |
909 | int cap = info->flags; | 909 | int cap; |
910 | 910 | ||
911 | if (info_idx == -1 || info == NULL) | 911 | if (info_idx == -1 || info == NULL) |
912 | return; | 912 | return; |
913 | |||
914 | cap = info->flags; | ||
915 | |||
913 | if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW || | 916 | if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW || |
914 | (info->fix.type == FB_TYPE_TEXT)) | 917 | (info->fix.type == FB_TYPE_TEXT)) |
915 | logo = 0; | 918 | logo = 0; |
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 7d1ae06667c6..bcf59b28a14f 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c | |||
@@ -337,6 +337,8 @@ static void vgacon_init(struct vc_data *c, int init) | |||
337 | c->vc_scan_lines = vga_scan_lines; | 337 | c->vc_scan_lines = vga_scan_lines; |
338 | c->vc_font.height = vga_video_font_height; | 338 | c->vc_font.height = vga_video_font_height; |
339 | c->vc_complement_mask = 0x7700; | 339 | c->vc_complement_mask = 0x7700; |
340 | if (vga_512_chars) | ||
341 | c->vc_hi_font_mask = 0x0800; | ||
340 | p = *c->vc_uni_pagedir_loc; | 342 | p = *c->vc_uni_pagedir_loc; |
341 | if (c->vc_uni_pagedir_loc == &c->vc_uni_pagedir || | 343 | if (c->vc_uni_pagedir_loc == &c->vc_uni_pagedir || |
342 | !--c->vc_uni_pagedir_loc[1]) | 344 | !--c->vc_uni_pagedir_loc[1]) |