lkml.org 
[lkml]   [2005]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] minor fbcon_scroll adjustment
(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@novell.com>

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,
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-09-08 16:36    [W:0.046 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site