[PATCH] minor fbcon_scroll adjustment

From: Jan Beulich
Date: Thu Sep 08 2005 - 09:34:01 EST


(Note: Patch also attached because the inline version is certain to get
line wrapped.)

An adjustment to the SM_DOWN case of fbcon_scroll to match the behavior
of
SM_UP.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

diff -Npru 2.6.13/drivers/video/console/fbcon.c
2.6.13-fbcon-logo-scroll-down/drivers/video/console/fbcon.c
--- 2.6.13/drivers/video/console/fbcon.c 2005-08-29
01:41:01.000000000 +0200
+++
2.6.13-fbcon-logo-scroll-down/drivers/video/console/fbcon.c 2005-09-07
11:15:44.000000000 +0200
@@ -1662,6 +1662,8 @@ static int fbcon_scroll(struct vc_data *
case SM_DOWN:
if (count > vc->vc_rows) /* Maximum realistic
size */
count = vc->vc_rows;
+ if (logo_shown >= 0)
+ goto redraw_down;
switch (p->scrollmode) {
case SCROLL_MOVE:
ops->bmove(vc, info, t, 0, t + count, 0,

Attachment: linux-2.6.13-fbcon-logo-scroll-down.patch
Description: Binary data