Re: Linux 2.4.19-pre5: neofb.c compile failure

From: rwhron@earthlink.net
Date: Sat Mar 30 2002 - 02:47:42 EST


> 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.orig Fri Mar 29 21:34:57 2002
+++ fb.h Fri Mar 29 21:36:40 2002
@@ -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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:19 EST