summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-06-03 10:48:37 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-06-03 10:48:37 +0000
commit8e8c6faecddbe014d8760822e1f705b43a00fa33 (patch)
tree310d751c8e59ed46894a77f9503758383db9ccec /hw
parent5b703f847d166176920077c1e6ba1d9559fc8481 (diff)
Add support for kFreeBSD systems. (Robert Millan, Aurelien Jarno)
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/bus/Pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h
index 32088fe4f..80e5fdb05 100644
--- a/hw/xfree86/os-support/bus/Pci.h
+++ b/hw/xfree86/os-support/bus/Pci.h
@@ -332,7 +332,7 @@
# define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
# endif
#elif defined(__amd64__) || defined(__amd64)
-# if defined(__FreeBSD__)
+# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
# define ARCH_PCI_INIT freebsdPciInit
# else
# define ARCH_PCI_INIT ix86PciInit