Re: vgacon scrolling problem [Was: Re: 2.6.16-rc1-mm4]

From: Jiri Slaby
Date: Tue Jan 31 2006 - 16:00:40 EST


Jindrich Makovicka wrote:
>Jiri Slaby wrote:
>> Jindrich Makovicka wrote:
>>>In vgacon.c, 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.
>> Then ... could you post a patch?
>if you insist :)
Ok, but not that way -- append at least Sign-off (see
Documentation/SubmittingPatches) to allow somebody push it to right places.
And do not remove cc people, please, when replying.

>--- 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;
>
>

regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@xxxxxxxxx ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/