public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mario Lang <mlang@delysid.org>
To: linux-kernel@vger.kernel.org
Cc: dave@mielke.cc
Subject: 2.6.0-test4: fbcon missing con_set_default_unimap?
Date: Wed, 03 Sep 2003 15:36:54 +0200	[thread overview]
Message-ID: <87fzjegfih.fsf@lexx.delysid.org> (raw)

Hi.

Well, I investigated the previously reported issue
regarding a empty SFM when using fbcon a bit more.

What looks strange to me is that it seems that con_set_default_unimap
is never called when using fbcon.  Below patch fixes my problems,
after boot, I have a correctly defined sfm.  However, since
I am totally new to kernel hacking, I suspect it is not really
correct.  However, it is tested, and it works for me as expected.

--- linux-2.6.0-test4/drivers/video/console/fbcon.c.orig	2003-09-03 15:32:42.000000000 +0200
+++ linux-2.6.0-test4/drivers/video/console/fbcon.c	2003-09-03 15:27:09.000000000 +0200
@@ -695,6 +695,7 @@
 		fb_display[unit].scrollmode = SCROLL_YNOMOVE;
 	else
 		fb_display[unit].scrollmode = SCROLL_YREDRAW;
+	con_set_default_unimap(unit);
 	fbcon_set_display(vc, init, !init);
 }
 

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang@db.debian.org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44

                 reply	other threads:[~2003-09-03 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fzjegfih.fsf@lexx.delysid.org \
    --to=mlang@delysid.org \
    --cc=dave@mielke.cc \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox