Skip to contentSkip to conversation

matroxfb driver broken on non-x86.

PATCH Dave Jones 1 participant 1 message Jan 12, 2005 Framebuffer layer

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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

drivers/video/matrox/matroxfb_base.c renamed from drivers/video/matrox/matroxfb_base.c~ +2 -0
@@ -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);