From 62a9fb4cda988a896909a5620a68c51e46d0e403 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 27 Sep 2007 16:12:29 -0700 Subject: Fix PCI rework build on Solaris (copy what BSD does) --- hw/xfree86/os-support/bus/ix86Pci.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hw/xfree86/os-support/bus') 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) { -- cgit v1.2.3