public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Linux 2.4.19-pre5: neofb.c compile failure
  2002-03-29 21:47 Linux 2.4.19-pre5 Marcelo Tosatti
@ 2002-03-30  0:23 ` Eyal Lebedinsky
  0 siblings, 0 replies; 2+ messages in thread
From: Eyal Lebedinsky @ 2002-03-30  0:23 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes pre5.

Everything offered is selected as a module.

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h 
-DKBUILD_BASENAME=neofb  -c -o neofb.o neofb.c
neofb.c: In function `neofb_set_par':
neofb.c:644: `FB_ACCEL_NEOMAGIC_NM2070' undeclared (first use in this
function)
neofb.c:644: (Each undeclared identifier is reported only once
neofb.c:644: for each function it appears in.)
neofb.c:648: `FB_ACCEL_NEOMAGIC_NM2090' undeclared (first use in this
function)
neofb.c:649: `FB_ACCEL_NEOMAGIC_NM2093' undeclared (first use in this
function)
neofb.c:650: `FB_ACCEL_NEOMAGIC_NM2097' undeclared (first use in this
function)
neofb.c:651: `FB_ACCEL_NEOMAGIC_NM2160' undeclared (first use in this
function)
neofb.c:652: `FB_ACCEL_NEOMAGIC_NM2200' undeclared (first use in this
function)
neofb.c:653: `FB_ACCEL_NEOMAGIC_NM2230' undeclared (first use in this
function)
neofb.c:654: `FB_ACCEL_NEOMAGIC_NM2360' undeclared (first use in this
function)
neofb.c:655: `FB_ACCEL_NEOMAGIC_NM2380' undeclared (first use in this
function)
neofb.c:645: warning: unreachable code at beginning of switch statement
neofb.c:703: warning: unreachable code at beginning of switch statement
neofb.c: In function `neoCalcVCLK':
neofb.c:906: `FB_ACCEL_NEOMAGIC_NM2200' undeclared (first use in this
function)
neofb.c:907: `FB_ACCEL_NEOMAGIC_NM2230' undeclared (first use in this
function)
neofb.c:908: `FB_ACCEL_NEOMAGIC_NM2360' undeclared (first use in this
function)
neofb.c:909: `FB_ACCEL_NEOMAGIC_NM2380' undeclared (first use in this
function)
neofb.c: In function `neo_init_hw':
neofb.c:1998: `FB_ACCEL_NEOMAGIC_NM2070' undeclared (first use in this
function)
neofb.c:2007: `FB_ACCEL_NEOMAGIC_NM2090' undeclared (first use in this
function)
neofb.c:2008: `FB_ACCEL_NEOMAGIC_NM2093' undeclared (first use in this
function)
neofb.c:2017: `FB_ACCEL_NEOMAGIC_NM2097' undeclared (first use in this
function)
neofb.c:2026: `FB_ACCEL_NEOMAGIC_NM2160' undeclared (first use in this
function)
neofb.c:2035: `FB_ACCEL_NEOMAGIC_NM2200' undeclared (first use in this
function)
neofb.c:2046: `FB_ACCEL_NEOMAGIC_NM2230' undeclared (first use in this
function)
neofb.c:2057: `FB_ACCEL_NEOMAGIC_NM2360' undeclared (first use in this
function)
neofb.c:2068: `FB_ACCEL_NEOMAGIC_NM2380' undeclared (first use in this
function)
neofb.c:1999: warning: unreachable code at beginning of switch statement
neofb.c: In function `neo_alloc_fb_info':
neofb.c:2120: `FB_ACCEL_NEOMAGIC_NM2070' undeclared (first use in this
function)
neofb.c:2123: `FB_ACCEL_NEOMAGIC_NM2090' undeclared (first use in this
function)
neofb.c:2126: `FB_ACCEL_NEOMAGIC_NM2093' undeclared (first use in this
function)
neofb.c:2129: `FB_ACCEL_NEOMAGIC_NM2097' undeclared (first use in this
function)
neofb.c:2132: `FB_ACCEL_NEOMAGIC_NM2160' undeclared (first use in this
function)
neofb.c:2135: `FB_ACCEL_NEOMAGIC_NM2200' undeclared (first use in this
function)
neofb.c:2138: `FB_ACCEL_NEOMAGIC_NM2230' undeclared (first use in this
function)
neofb.c:2141: `FB_ACCEL_NEOMAGIC_NM2360' undeclared (first use in this
function)
neofb.c:2144: `FB_ACCEL_NEOMAGIC_NM2380' undeclared (first use in this
function)
neofb.c:2121: warning: unreachable code at beginning of switch statement
neofb.c: At top level:
neofb.c:2298: `FB_ACCEL_NEOMAGIC_NM2070' undeclared here (not in a
function)
neofb.c:2298: initializer element is not constant
neofb.c:2298: (near initialization for `neofb_devices[0].driver_data')
neofb.c:2301: `FB_ACCEL_NEOMAGIC_NM2090' undeclared here (not in a
function)
neofb.c:2301: initializer element is not constant
neofb.c:2301: (near initialization for `neofb_devices[1].driver_data')
neofb.c:2304: `FB_ACCEL_NEOMAGIC_NM2093' undeclared here (not in a
function)
neofb.c:2304: initializer element is not constant
neofb.c:2304: (near initialization for `neofb_devices[2].driver_data')
neofb.c:2307: `FB_ACCEL_NEOMAGIC_NM2097' undeclared here (not in a
function)
neofb.c:2307: initializer element is not constant
neofb.c:2307: (near initialization for `neofb_devices[3].driver_data')
neofb.c:2310: `FB_ACCEL_NEOMAGIC_NM2160' undeclared here (not in a
function)
neofb.c:2310: initializer element is not constant
neofb.c:2310: (near initialization for `neofb_devices[4].driver_data')
neofb.c:2313: `FB_ACCEL_NEOMAGIC_NM2200' undeclared here (not in a
function)
neofb.c:2313: initializer element is not constant
neofb.c:2313: (near initialization for `neofb_devices[5].driver_data')
neofb.c:2316: `FB_ACCEL_NEOMAGIC_NM2230' undeclared here (not in a
function)
neofb.c:2316: initializer element is not constant
neofb.c:2316: (near initialization for `neofb_devices[6].driver_data')
neofb.c:2319: `FB_ACCEL_NEOMAGIC_NM2360' undeclared here (not in a
function)
neofb.c:2319: initializer element is not constant
neofb.c:2319: (near initialization for `neofb_devices[7].driver_data')
neofb.c:2322: `FB_ACCEL_NEOMAGIC_NM2380' undeclared here (not in a
function)
neofb.c:2322: initializer element is not constant
neofb.c:2322: (near initialization for `neofb_devices[8].driver_data')
make[2]: *** [neofb.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/video'


--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

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

* Re: Linux 2.4.19-pre5: neofb.c compile failure
@ 2002-03-30  7:47 rwhron
  0 siblings, 0 replies; 2+ messages in thread
From: rwhron @ 2002-03-30  7:47 UTC (permalink / raw)
  To: eyal; +Cc: linux-kernel

> 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 */




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

end of thread, other threads:[~2002-03-30  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-30  7:47 Linux 2.4.19-pre5: neofb.c compile failure rwhron
  -- strict thread matches above, loose matches on Subject: below --
2002-03-29 21:47 Linux 2.4.19-pre5 Marcelo Tosatti
2002-03-30  0:23 ` Linux 2.4.19-pre5: neofb.c compile failure Eyal Lebedinsky

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