summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-11-19 10:19:20 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-11-19 10:19:20 -0800
commit570835b9a89187a36e08defbccc56051bb349b52 (patch)
tree492f6e5696971aa648f7ffc4a0b11c34f34f6a0b /hw
parent3932a848572f4eaf8b7f1d91d9b74aeafab069a2 (diff)
Use bsd_pci stub routines on Solaris too, since we use pciaccess for real work
Depends on commit 70e18a3b6b9d52169bca650f6cd4ef5d8ab40d95 to get definition of xf86InitVidMem on Solaris.
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 31a7fbf46..2eb1745a7 100644
--- a/hw/xfree86/os-support/bus/Pci.h
+++ b/hw/xfree86/os-support/bus/Pci.h
@@ -179,7 +179,7 @@
#define PCI_CFGMECH1_MAXDEV 32
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
- defined(__DragonFly__)
+ defined(__DragonFly__) || defined(__sun)
#define ARCH_PCI_INIT bsdPciInit
#endif