/[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.1 - (hide annotations) (download)
Fri Sep 15 21:15:10 2006 UTC (11 years, 10 months ago) by dberkholz
Branch: MAIN
Use upstream's fix for sparc mach64 lockups. An 18-line patch instead of a 582-line patch is a good thing.
(Portage version: 2.1.1_rc1-r7)

1 dberkholz 1.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(__sparc64__)
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