8517f83
--- xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c.arm	2007-02-17 20:37:56.000000000 -0500
8517f83
+++ xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c	2007-06-04 11:33:14.000000000 -0400
8517f83
@@ -3006,7 +3006,7 @@
8517f83
     
8517f83
 }
8517f83
 
8517f83
-#if !defined(__sparc) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__mips__)
8517f83
+#if !defined(__sparc) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__mips__) && !defined(__arm__)
8517f83
 #include "vgaHW.h"
8517f83
 #include "compiler.h"
8517f83
 #endif
8517f83
@@ -3018,7 +3018,7 @@
8517f83
 CheckGenericGA()
8517f83
 {
8517f83
 /* This needs to be changed for multiple domains */
8517f83
-#if !defined(__sparc__) && !defined(__sparc) && !defined(__powerpc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__arm__) && !defined(__s390__)
8517f83
+#if !defined(__sparc__) && !defined(__sparc) && !defined(__powerpc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__arm__) && !defined(__s390__) && !defined(__arm__)
8517f83
     IOADDRESS GenericIOBase = VGAHW_GET_IOBASE();
8517f83
     CARD8 CurrentValue, TestValue;
8517f83
 
8517f83
--- xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_video.c.arm	2006-09-18 02:04:18.000000000 -0400
8517f83
+++ xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_video.c	2007-06-04 11:35:21.000000000 -0400
8517f83
@@ -62,7 +62,8 @@
8517f83
 #elif !defined(__powerpc__) && \
8517f83
       !defined(__mc68000__) && \
8517f83
       !defined(__sparc__) && \
8517f83
-      !defined(__mips__)
8517f83
+      !defined(__mips__) && \
8517f83
+      !defined(__arm__)
8517f83
 
8517f83
 /*
8517f83
  * Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare
8517f83
@@ -567,7 +568,7 @@
8517f83
 #endif
8517f83
 	}
8517f83
 	close(fd);
8517f83
-#elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__)
8517f83
+#elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__) && !defined(__arm__)
8517f83
         if (ioperm(0, 1024, 1) || iopl(3)) {
8517f83
                 if (errno == ENODEV)
8517f83
                         ErrorF("xf86EnableIOPorts: no I/O ports found\n");
8517f83
--- xorg-server-1.3.0.0/hw/xfree86/os-support/misc/SlowBcopy.c.arm	2006-09-18 02:04:18.000000000 -0400
8517f83
+++ xorg-server-1.3.0.0/hw/xfree86/os-support/misc/SlowBcopy.c	2007-06-04 11:31:28.000000000 -0400
8517f83
@@ -35,7 +35,8 @@
8517f83
 #if !defined(__sparc__) && \
8517f83
     !defined(__powerpc__) && \
8517f83
     !defined(__mips__) && \
8517f83
-    !defined(__ia64__)
8517f83
+    !defined(__ia64__) && \
8517f83
+    !defined(__arm__)
8517f83
 	outb(0x80, 0x00);
8517f83
 #endif
8517f83
     }