Contents of /trunk/xorg-old/patches-6.8.2-r10/7200_all_4.3.0-ia64-slowbcopy.patch
Parent Directory | Revision Log
Revision 167 -
(show annotations)
(download)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 862 byte(s)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 862 byte(s)
-import
1 | Patch by John Dennis <jdennis@redhat.com> which fixes Red Hat bugzilla: |
2 | |
3 | Inserts a short delay in the xf86SlowBcopy() routine and prevent PCI bus |
4 | lockups on ia64 which were observed with the nv driver (#98139) |
5 | |
6 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=98139 |
7 | |
8 | =================================================================== |
9 | RCS file: /xf86/anoncvs/cvs/xc/programs/Xserver/hw/xfree86/os-support/misc/SlowBcopy.c,v |
10 | retrieving revision 1.5 |
11 | retrieving revision 1.6 |
12 | diff -u -p -r1.5 -r1.6 |
13 | --- xc/programs/Xserver/hw/xfree86/os-support/misc/SlowBcopy.c 2001/11/19 15:44:18 1.5 |
14 | +++ xc/programs/Xserver/hw/xfree86/os-support/misc/SlowBcopy.c 2003/04/07 16:23:39 1.6 |
15 | @@ -26,6 +26,9 @@ |
16 | void |
17 | xf86SlowBcopy(unsigned char *src, unsigned char *dst, int len) |
18 | { |
19 | +#if defined(__ia64__) |
20 | + outb(0x80, 0x00); |
21 | +#endif |
22 | while(len--) |
23 | { |
24 | *dst++ = *src++; |