public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Modular i810fb broken, partial fix
@ 2005-10-07 13:47 Bernhard Rosenkraenzer
  2005-10-08 10:39 ` Antonino A. Daplas
  0 siblings, 1 reply; 14+ messages in thread
From: Bernhard Rosenkraenzer @ 2005-10-07 13:47 UTC (permalink / raw)
  To: adaplas, linux-kernel

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

Hi,
i810fb as a module is broken (checked with 2.6.13-mm3 and 2.6.14-rc2-mm1).
It compiles, but the module doesn't actually load because the kernel doesn't 
recognize the hardware (the MODULE_DEVICE_TABLE statement is missing).

The attached patch fixes this.

However, the resulting module still doesn't work.
It loads, and then garbles the display (black screen with a couple of yellow 
lines, no matter what is written into the framebuffer device).

Related .config entries:
CONFIG_I2C_I810=m
CONFIG_FB_I810=m
CONFIG_FB_I810_GTF=y
CONFIG_FB_I810_I2C=y

[-- Attachment #2: 2.6.13-mm3-fix-i810fb.patch --]
[-- Type: text/x-diff, Size: 348 bytes --]

--- linux-2.6.13/drivers/video/i810/i810_main.c.ark	2005-09-13 00:31:37.000000000 +0200
+++ linux-2.6.13/drivers/video/i810/i810_main.c	2005-09-13 00:31:54.000000000 +0200
@@ -83,6 +83,8 @@
 	{ 0 },
 };
 
+MODULE_DEVICE_TABLE(pci, i810fb_pci_tbl);
+
 static struct pci_driver i810fb_driver = {
 	.name     =	"i810fb",
 	.id_table =	i810fb_pci_tbl,

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-10-10  8:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 13:47 Modular i810fb broken, partial fix Bernhard Rosenkraenzer
2005-10-08 10:39 ` Antonino A. Daplas
2005-10-08 11:02   ` Bernhard Rosenkraenzer
2005-10-08 11:31   ` Giuseppe Bilotta
2005-10-08 13:03     ` Antonino A. Daplas
2005-10-08 14:51       ` Giuseppe Bilotta
2005-10-08 21:22         ` Antonino A. Daplas
2005-10-08 11:56   ` Manuel Lauss
2005-10-08 13:03     ` Antonino A. Daplas
2005-10-08 15:30       ` Manuel Lauss
2005-10-09 16:48         ` Bernhard Rosenkraenzer
2005-10-09 17:13           ` Manuel Lauss
2005-10-09 17:21           ` Manuel Lauss
2005-10-10  8:06           ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox