patch-2.2.8 linux/include/asm-arm/vga.h

Next file: linux/include/asm-i386/bugs.h
Previous file: linux/include/asm-arm/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/include/asm-arm/vga.h linux/include/asm-arm/vga.h
@@ -1,9 +1,10 @@
 #ifndef ASMARM_VGA_H
 #define ASMARM_VGA_H
 
+#include <asm/hardware.h>
 #include <asm/io.h>
 
-#define VGA_MAP_MEM(x)	(0xe0000000 + (x))
+#define VGA_MAP_MEM(x)	(PCIMEM_BASE + (x))
 
 #define vga_readb(x)	(*(x))
 #define vga_writeb(x,y)	(*(y) = (x))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)