diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1999-10-06 01:00:24 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1999-10-06 01:00:24 +0000 |
commit | 914eaac09545ccb40c40fbf74b0771636c69a28b (patch) | |
tree | 279e403aa7cefb228e5566d505a7cc2d0dd46353 /x11/XFree86-4-libraries | |
parent | Activate xp (diff) |
Fix for problem with S3 Trio3D/2X chipset based video cards.
Submitted by: BoB Savage <bob@savage.kiev.ua>
Notes
Notes:
svn path=/head/; revision=22184
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-9 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-9 b/x11/XFree86-4-libraries/files/patch-9 new file mode 100644 index 000000000000..1cca9510c9b4 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-9 @@ -0,0 +1,11 @@ +--- programs/Xserver/hw/xfree86/vga256/drivers/s3v/regs3v.h~ Mon Sep 6 10:47:18 1999 ++++ programs/Xserver/hw/xfree86/vga256/drivers/s3v/regs3v.h Fri Sep 24 14:39:18 1999 +@@ -421,7 +421,7 @@ + + /* Wait until Command FIFO is empty */ + #define WaitCommandEmpty() do { int loop=0; mem_barrier(); \ +- if (s3vPriv.chip == S3_ViRGE_GX2 || s3vPriv.chip == S3_ViRGE_MX || s3vPriv.chip == S3_ViRGE_MXP) \ ++ if (S3_ViRGE_GX2_SERIES(s3vPriv.chip) || S3_ViRGE_MX_SERIES(s3vPriv.chip)) \ + while ((!(((((mmtr)s3vMmioMem)->subsys_regs.regs.adv_func_cntl)) & 0x400)) && (loop++<MAXLOOP)); \ + else if (S3_TRIO_3D_SERIES(s3vPriv.chip)) \ + while (((IN_SUBSYS_STAT() & 0x5f00) != 0x5f00) && (loop++<MAXLOOP)); \ |