lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH -mm] vgacon printk scrolling fix
vgacon printk scrolling fix

As Jindrich Makovicka suggested, there is a stray printk("vgacon delta: %i\n",
lines); which effectively disables the scrollback of the vga console (at least
when not using the new soft scrollback). Removing it fixes the problem.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Antonino Daplas <adaplas@pol.net>
Cc: Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
Cc: Martin Mares <mj@ucw.cz>
--
vgacon.c | 1 -
1 files changed, 1 deletion(-)
--- linux-2.6.16-rc1-mm4/drivers/video/console/vgacon.c 2006-01-25 19:16:35.000000000 +0100
+++ linux-2.6.16-rc1-mm4/drivers/video/console/vgacon.c 2006-01-31 21:33:40.433055896 +0100
@@ -331,7 +331,6 @@
int margin = c->vc_size_row * 4;
int ul, we, p, st;

- printk("vgacon delta: %i\n", lines);
if (vga_rolled_over >
(c->vc_scr_end - vga_vram_base) + margin) {
ul = c->vc_scr_end - vga_vram_base;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-01 16:29    [W:0.023 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site