public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* matroxfb driver broken on non-x86.
@ 2005-01-12 22:20 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2005-01-12 22:20 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

This broke since the recent MODULE_PARAM conversion on
architectures that don't have CONFIG_MTRR

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.10/drivers/video/matrox/matroxfb_base.c~	2005-01-12 16:46:23.000000000 -0500
+++ linux-2.6.10/drivers/video/matrox/matroxfb_base.c	2005-01-12 16:48:54.000000000 -0500
@@ -2477,8 +2477,10 @@ module_param(noinit, int, 0);
 MODULE_PARM_DESC(noinit, "Disables W/SG/SD-RAM and bus interface initialization (0 or 1=do not initialize) (default=0)");
 module_param(memtype, int, 0);
 MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.txt for explanation) (default=3 for G200, 0 for G400)");
+#ifdef CONFIG_MTRR
 module_param(mtrr, int, 0);
 MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");
+#endif
 module_param(sgram, int, 0);
 MODULE_PARM_DESC(sgram, "Indicates that G100/G200/G400 has SGRAM memory (0=SDRAM, 1=SGRAM) (default=0)");
 module_param(inv24, int, 0);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12 22:20 matroxfb driver broken on non-x86 Dave Jones

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