diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-07-31 06:59:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-07-31 06:59:35 +0000 |
commit | ea2e785f6dea75ec6bf5ce57c817b264c4845493 (patch) | |
tree | 426282c54535a39c23c568a379ba2a2958bd5b7e /xserver/hw | |
parent | 45d8b4627b0a26bded53d68d0a205166208c5501 (diff) |
All the resources claimed by xf86StdAccResFromOS() are PC-specific. On sparc64
PCI address space is completely seperate, so we don't have to claim any
resources to avoid clashes with main memory and firmware. Makes accelerated
graphics work on the Tadpole SPARCLE.
ok matthieu@, oga@
Diffstat (limited to 'xserver/hw')
-rw-r--r-- | xserver/hw/xfree86/os-support/shared/stdResource.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xserver/hw/xfree86/os-support/shared/stdResource.c b/xserver/hw/xfree86/os-support/shared/stdResource.c index ad4685605..6f7f07a98 100644 --- a/xserver/hw/xfree86/os-support/shared/stdResource.c +++ b/xserver/hw/xfree86/os-support/shared/stdResource.c @@ -31,9 +31,6 @@ #include <xorg-config.h> #endif -#ifdef __UNIXOS2__ -# define I_NEED_OS2_H -#endif #include <X11/X.h> #include "xf86.h" #include "xf86Priv.h" @@ -43,9 +40,6 @@ #include "xf86_OSlib.h" #include "xf86Resources.h" -#ifdef __UNIXOS2__ -# undef ADDRESS -#endif /* Avoid Imakefile changes */ #include "bus/Pci.h" @@ -115,6 +109,7 @@ xf86StdIsaBusAccWindowsFromOS(void) resPtr xf86StdAccResFromOS(resPtr ret) { +#ifndef __sparc64__ resRange range; /* @@ -176,6 +171,7 @@ xf86StdAccResFromOS(resPtr ret) ret = xf86AddResToList(ret, &range, -1); /* XXX add others */ +#endif return ret; } |