Fix PCI rework build on Solaris (copy what BSD does)
This commit is contained in:
parent
cfe549d1ba
commit
62a9fb4cda
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "bus/Pci.h"
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
|
||||
defined(__DragonFly__)
|
||||
defined(__DragonFly__) || defined(__sun)
|
||||
#define xf86StdAccResFromOS xf86AccResFromOS
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user