summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-05 21:49:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-05 21:49:30 +0000
commitc892002634d27a201b52c036d390b53e9120225a (patch)
tree58e461bb9e111572a2349f6cd3aec6087de9d2ca
parentd04618295e21a3607d7a7db286e21696d8df634f (diff)
Sparc bus driver logic from XF4. Slightly different from the one in
X.Org, yet I missed it during previous merge.
-rw-r--r--xserver/hw/xfree86/os-support/bus/Pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/os-support/bus/Pci.h b/xserver/hw/xfree86/os-support/bus/Pci.h
index 715ae5fda..bea7c3938 100644
--- a/xserver/hw/xfree86/os-support/bus/Pci.h
+++ b/xserver/hw/xfree86/os-support/bus/Pci.h
@@ -345,7 +345,7 @@
# elif defined(sun)
# define ARCH_PCI_INIT sparcPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
-# elif (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__sparc64__)
+# elif defined(__FreeBSD__) && defined(__sparc64__) || defined(__OpenBSD__)
# define ARCH_PCI_INIT freebsdPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN