summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/xorg/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch')
-rw-r--r--hardened/xorg/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/hardened/xorg/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch b/hardened/xorg/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch
new file mode 100644
index 0000000..d44d969
--- /dev/null
+++ b/hardened/xorg/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch
@@ -0,0 +1,18 @@
+diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c
+index a3c07f3..a97e6f0 100644
+--- a/hw/xfree86/os-support/bus/linuxPci.c
++++ b/hw/xfree86/os-support/bus/linuxPci.c
+@@ -83,7 +83,13 @@ #if defined(__powerpc__)
+ /* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr,
+ #else
+ /* pciAddrHostToBus */ pciAddrNOOP,
++/* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree
++ * makes it all moot, so we kludge it for now */
++#if defined(__sparc__)
++/* pciAddrBusToHost */ pciAddrNOOP,
++#else
+ /* pciAddrBusToHost */ linuxTransAddrBusToHost,
++#endif /* __sparc64__ */
+ #endif
+
+ /* pciControlBridge */ NULL,