summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-09-27 16:12:29 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-09-27 16:47:32 -0700
commit62a9fb4cda988a896909a5620a68c51e46d0e403 (patch)
treea2170211c04e2049f9bcd8ac8457f83867c63292 /hw/xfree86/os-support/bus
parentcfe549d1ba28396c44af94133d8c1d323e3c7086 (diff)
Fix PCI rework build on Solaris (copy what BSD does)
Diffstat (limited to 'hw/xfree86/os-support/bus')
-rw-r--r--hw/xfree86/os-support/bus/ix86Pci.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/bus/ix86Pci.c b/hw/xfree86/os-support/bus/ix86Pci.c
index bbc4847e0..e54246355 100644
--- a/hw/xfree86/os-support/bus/ix86Pci.c
+++ b/hw/xfree86/os-support/bus/ix86Pci.c
@@ -223,6 +223,20 @@ static pciBusInfo_t ix86Pci0 = {
/* bridge */ NULL
};
+_X_EXPORT pointer
+xf86MapDomainMemory(int ScreenNum, int Flags, struct pci_device *dev,
+ ADDRESS Base, unsigned long Size)
+{
+ return xf86MapVidMem(ScreenNum, Flags, Base, Size);
+}
+
+IOADDRESS
+xf86MapLegacyIO(struct pci_device *dev)
+{
+ (void)dev;
+ return 0;
+}
+
static Bool
ix86PciBusCheck(void)
{