compiling sis_main.c failed for me in sis_main.c with the following error:
<-- snip -->
...
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/i
nclude -DKBUILD_BASENAME=sis_main -c -o sis_main.o sis_main.c
sis_main.c: In function `sisfb_init':
sis_main.c:3273: structure has no member named `mtrr'
sis_main.c:3276: structure has no member named `mtrr'
make[4]: *** [sis_main.o] Error 1
make[4]: Leaving directory
`/home/bunk/linux/kernel-2.4/linux-full/drivers/video/sis'
<-- snip -->
It seems the following patch that from 2.4.19-pre9-ac3 is needed?
--- linux.19pre9/include/linux/sisfb.h Wed May 29 14:44:43 2002
+++ linux.19pre9-ac3/include/linux/sisfb.h Thu May 9 22:40:52 2002
@@ -89,6 +90,7 @@
unsigned long mmio_base;
char *mmio_vbase;
unsigned long vga_base;
+ unsigned long mtrr;
int video_bpp;
int video_width;
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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/