aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server-snap/files/patch-Pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-Server-snap/files/patch-Pci.h')
-rw-r--r--x11-servers/XFree86-4-Server-snap/files/patch-Pci.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/files/patch-Pci.h b/x11-servers/XFree86-4-Server-snap/files/patch-Pci.h
deleted file mode 100644
index 0a3b90b9c63..00000000000
--- a/x11-servers/XFree86-4-Server-snap/files/patch-Pci.h
+++ /dev/null
@@ -1,36 +0,0 @@
---- programs/Xserver/hw/xfree86/os-support/bus/Pci.h.orig Wed Sep 10 04:05:17 2003
-+++ programs/Xserver/hw/xfree86/os-support/bus/Pci.h Wed Sep 17 19:10:42 2003
-@@ -255,6 +255,10 @@
- # define ARCH_PCI_INIT linuxPciInit
- # define INCLUDE_XF86_MAP_PCI_MEM
- # define INCLUDE_XF86_NO_DOMAIN
-+# elif defined(FreeBSD)
-+# define ARCH_PCI_INIT freebsdPciInit
-+# define INCLUDE_XF86_MAP_PCI_MEM
-+# define INCLUDE_XF86_NO_DOMAIN
- # endif
- # define XF86SCANPCI_WRAPPER ia64ScanPCIWrapper
- #elif defined(__i386__)
-@@ -315,14 +319,20 @@
- # elif defined(sun)
- # define ARCH_PCI_INIT sparcPciInit
- # define INCLUDE_XF86_MAP_PCI_MEM
--# elif defined(__OpenBSD__) && defined(__sparc64__)
-+# elif (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__sparc64__)
- # define ARCH_PCI_INIT freebsdPciInit
- # define INCLUDE_XF86_MAP_PCI_MEM
- # define INCLUDE_XF86_NO_DOMAIN
- # endif
-+# if !defined(__FreeBSD__)
- # define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
-+# endif
- #elif defined(__AMD64__)
--# define ARCH_PCI_INIT ix86PciInit
-+# if defined(__FreeBSD__)
-+# define ARCH_PCI_INIT freebsdPciInit
-+# else
-+# define ARCH_PCI_INIT ix86PciInit
-+# endif
- # define INCLUDE_XF86_MAP_PCI_MEM
- # define INCLUDE_XF86_NO_DOMAIN
- # if defined(linux)