/[gentoo-x86]/x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch
Gentoo

Contents of /x11-base/xorg-server/files/1.1.1-sparc64-ati-lockups.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 20 22:10:31 2006 UTC (12 years, 2 months ago) by dberkholz
Branch: MAIN
Changes since 1.1: +1 -1 lines
Base ifdef on __sparc__ rather than __sparc64__. The issue happens on 64-bit kernel/32-bit userland, so sparc64 isn't defined when building the userland.
(Portage version: 2.1.2_pre1)

1 diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c
2 index a3c07f3..a97e6f0 100644
3 --- a/hw/xfree86/os-support/bus/linuxPci.c
4 +++ b/hw/xfree86/os-support/bus/linuxPci.c
5 @@ -83,7 +83,13 @@ #if defined(__powerpc__)
6 /* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr,
7 #else
8 /* pciAddrHostToBus */ pciAddrNOOP,
9 +/* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree
10 + * makes it all moot, so we kludge it for now */
11 +#if defined(__sparc__)
12 +/* pciAddrBusToHost */ pciAddrNOOP,
13 +#else
14 /* pciAddrBusToHost */ linuxTransAddrBusToHost,
15 +#endif /* __sparc64__ */
16 #endif
17
18 /* pciControlBridge */ NULL,

  ViewVC Help
Powered by ViewVC 1.1.20