public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>, Jani Monoses <jani@iv.ro>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.19-rc1: [PATCH] tridentfb
Date: Fri, 12 Jul 2002 02:26:10 +0200	[thread overview]
Message-ID: <200207120224.11593.deller@gmx.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0206241253120.9274-100000@freak.distro.conectiva>

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

The following patch automatically adds CONFIG_FBCON_CFB[8,16,32] 
if the tridentfb driver (CONFIG_FB_TRIDENT) was selected.
Without the patch I get:
	fbcon_setup: No support for fontwidth 8
	kernel: fbcon_setup: type 0 (aux 0, depth 8) not supported
and the screen stays black in case tridentfb was the only selected fb-driver.

The second part of the patch only inserts named initializers for some structs
in tridentfb.c.

Helge



[-- Attachment #2: trident.patch --]
[-- Type: text/plain, Size: 4239 bytes --]

--- ./drivers/video/Config.in.org	Fri Jul 12 02:01:22 2002
+++ ./drivers/video/Config.in	Fri Jul 12 02:02:59 2002
@@ -267,7 +267,7 @@
 	   "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
            "$CONFIG_FB_IGA" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
 	   "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
-           "$CONFIG_FB_PM3" = "y" -o \
+           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	   "$CONFIG_FB_P9100" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
 	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_RADEON" = "y" -o \
 	   "$CONFIG_FB_SGIVW" = "y" -o "$CONFIG_FB_CYBER2000" = "y" -o \
@@ -288,7 +288,7 @@
 	      "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
               "$CONFIG_FB_IGA" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
 	      "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
-              "$CONFIG_FB_PM3" = "m" -o \
+              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	      "$CONFIG_FB_P9100" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
 	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_3DFX" = "m" -o \
 	      "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_CYBER2000" = "m" -o \
@@ -308,7 +308,7 @@
 	   "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
 	   "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
 	   "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
-           "$CONFIG_FB_PM3" = "y" -o \
+           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
 	   "$CONFIG_FB_CYBER2000" = "y" -o "$CONFIG_FB_3DFX" = "y"  -o \
 	   "$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SA1100" = "y" -o \
@@ -325,7 +325,7 @@
 	      "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
 	      "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
 	      "$CONFIG_FB_PM2" = "m" -o "$CONFIG_FB_SGIVW" = "m" -o \
-              "$CONFIG_FB_PM3" = "m" -o \
+              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
 	      "$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
 	      "$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
@@ -356,7 +356,7 @@
 	   "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
 	   "$CONFIG_FB_TGA" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
 	   "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
-           "$CONFIG_FB_PM3" = "y" -o \
+           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
 	   "$CONFIG_FB_FM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
 	   "$CONFIG_FB_RADEON" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
@@ -369,7 +369,7 @@
 	      "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
 	      "$CONFIG_FB_TGA" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
 	      "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
-              "$CONFIG_FB_PM3" = "m" -o \
+              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "y" -o \
 	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
 	      "$CONFIG_FB_3DFX" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
 	      "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
--- ./drivers/video/tridentfb.c.org	Fri Jul 12 02:04:11 2002
+++ ./drivers/video/tridentfb.c	Fri Jul 12 02:06:14 2002
@@ -1248,17 +1248,16 @@
 }
 
 static struct fbgen_hwswitch trident_hwswitch = {
-	NULL, /* detect not needed */
-	trident_encode_fix,
-	trident_decode_var,
-	trident_encode_var,
-	trident_get_par,
-	trident_set_par,
-	trident_getcolreg,
-	trident_setcolreg,
-	trident_pan_display,
-	trident_blank,
-	trident_set_disp
+	encode_fix: trident_encode_fix,
+	decode_var: trident_decode_var,
+	encode_var: trident_encode_var,
+	get_par: trident_get_par,
+	set_par: trident_set_par,
+	getcolreg: trident_getcolreg,
+	setcolreg: trident_setcolreg,
+	pan_display: trident_pan_display,
+	blank: trident_blank,
+	set_disp: trident_set_disp
 };
 
 static int trident_iosize;
@@ -1487,6 +1486,7 @@
 }
 
 static struct fb_ops tridentfb_ops = {
+	owner:THIS_MODULE,
 	fb_get_fix:fbgen_get_fix,
 	fb_get_var:fbgen_get_var,
 	fb_set_var:fbgen_set_var,

      parent reply	other threads:[~2002-07-12  0:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 15:58 Linux 2.4.19-rc1 Marcelo Tosatti
2002-06-24 19:07 ` [PATCH 2.4.19-rc1] BLK_DEV_RAM not BLOCK_DEV_RAM. was: " Stelian Pop
2002-06-24 19:17   ` Rudmer van Dijk
2002-06-24 19:20 ` [PATCH 2.4.19-rc1] Fix building with 'make -r -R' Tom Rini
2002-06-24 20:28 ` Linux 2.4.19-rc1 Pawel Kot
2002-06-24 21:17 ` Linux 2.4.19-rc1 ChangeLog Summary Matthias Andree
2002-06-25 23:06 ` Linux 2.4.19-rc1 Simon Kirby
2002-06-25 23:29   ` DMA from high memory regions Imran Badr
2002-06-26  0:23   ` Linux 2.4.19-rc1 Marcelo Tosatti
2002-06-28 22:41 ` bvermeul
2002-07-02 20:51   ` Marcelo Tosatti
2002-07-02 21:30     ` Marcelo Tosatti
2002-07-03 16:53     ` Bruce Harada
2002-07-12  0:26 ` Helge Deller [this message]

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=200207120224.11593.deller@gmx.de \
    --to=deller@gmx.de \
    --cc=jani@iv.ro \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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