From: Richard Zidlicky <rz@linux-m68k.org>
To: James Simmons <jsimmons@infradead.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Oops in fbcon_setup
Date: Sat, 31 Aug 2002 22:20:01 +0200 [thread overview]
Message-ID: <20020831222000.A205@linux-m68k.org> (raw)
Hi,
I came around testing q40fb.c, fbcon_setup oopses because
apparently dispsw isn't set anywhere.
This patch seems to fix it although I had very little opportunity
to test much further (it was good enough to display the next Oops
though ;)
--- linux-m68k-2.5.x/drivers/video/q40fb.c Tue Aug 13 21:30:36 2002
+++ build-2.5/drivers/video/q40fb.c Sat Aug 31 14:33:11 2002
@@ -29,6 +29,7 @@
#include <asm/pgtable.h>
#include <video/fbcon.h>
+#include <video/fbcon-cfb16.h>
#define Q40_PHYS_SCREEN_ADDR 0xFE800000
@@ -125,6 +126,8 @@
fb_info.switch_con = gen_switch;
fb_info.updatevar = gen_update_var;
fb_alloc_cmap(&fb_info.cmap, 16, 0);
+
+ display.dispsw = &fbcon_cfb16;
gen_set_disp(-1, &fb_info);
Richard
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
next reply other threads:[~2002-08-31 20:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-31 20:20 Richard Zidlicky [this message]
2002-09-01 9:24 ` Oops in fbcon_setup Geert Uytterhoeven
2002-09-01 21:16 ` Richard Zidlicky
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=20020831222000.A205@linux-m68k.org \
--to=rz@linux-m68k.org \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.