From 16470a32eee93f3c89d83d11e7c622a73e0df091 Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 31 Jul 2008 06:59:34 +0000 Subject: [PATCH] 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@ --- xserver/hw/xfree86/os-support/shared/stdResource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xserver/hw/xfree86/os-support/shared/stdResource.c b/xserver/hw/xfree86/os-support/shared/stdResource.c index 555f80526..6f7f07a98 100644 --- a/xserver/hw/xfree86/os-support/shared/stdResource.c +++ b/xserver/hw/xfree86/os-support/shared/stdResource.c @@ -109,6 +109,7 @@ xf86StdIsaBusAccWindowsFromOS(void) resPtr xf86StdAccResFromOS(resPtr ret) { +#ifndef __sparc64__ resRange range; /* @@ -170,6 +171,7 @@ xf86StdAccResFromOS(resPtr ret) ret = xf86AddResToList(ret, &range, -1); /* XXX add others */ +#endif return ret; }