Skip to contentSkip to conversation

Linux 2.4.19-pre5: neofb.c compile failure

DISCUSSION [email protected] 1 participant 1 message Mar 30, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

neofb.c:644: `FB_ACCEL_NEOMAGIC_NM2070' undeclared (first use in this function)

This is a diff based on 2.5.7 for include/linux/fb.h. Console scrolling is 40% faster with neofb on a Toshiba Tecra 8000 compared to vesafb. :)

My lilo.conf append for 2.4.19-pre5:
append = "video:neofb:ywrap,depth:8"
I.E. replace "vesa" with "neofb"

fb.h renamed from fb.h.orig +12 -0
@@ -95,6 +95,18 @@
 #define FB_ACCEL_SIS_GLAMOUR    36	/* SiS 300/630/540              */
 #define FB_ACCEL_3DLABS_PERMEDIA3 37	/* 3Dlabs Permedia 3		*/
 
+
+#define FB_ACCEL_NEOMAGIC_NM2070 90	/* NeoMagic NM2070              */
+#define FB_ACCEL_NEOMAGIC_NM2090 91	/* NeoMagic NM2090              */
+#define FB_ACCEL_NEOMAGIC_NM2093 92	/* NeoMagic NM2093              */
+#define FB_ACCEL_NEOMAGIC_NM2097 93	/* NeoMagic NM2097              */
+#define FB_ACCEL_NEOMAGIC_NM2160 94	/* NeoMagic NM2160              */
+#define FB_ACCEL_NEOMAGIC_NM2200 95	/* NeoMagic NM2200              */
+#define FB_ACCEL_NEOMAGIC_NM2230 96	/* NeoMagic NM2230              */
+#define FB_ACCEL_NEOMAGIC_NM2360 97	/* NeoMagic NM2360              */
+#define FB_ACCEL_NEOMAGIC_NM2380 98	/* NeoMagic NM2380              */
+
+
 struct fb_fix_screeninfo {
 	char id[16];			/* identification string eg "TT Builtin" */
 	unsigned long smem_start;	/* Start of frame buffer mem */