summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. Cross <dec@FreeBSD.org>2000-10-13 03:48:23 +0000
committerDavid E. Cross <dec@FreeBSD.org>2000-10-13 03:48:23 +0000
commit252bdaff131f58e1c164cb2f0882d2b683f8f4fd (patch)
tree29d848d417ad6320f071af532e20d049950b49c5
parentUpgrade to 0.16.5. (diff)
Submitted by: <dec@freebsd.org>
Reviewed by: <jmz@freebsd.org> Approved by: <jmz@freebsd.org> Obtained from: XFree86 XFree86-4.0.1 has a driver error with a large number of Mach64 based cards that will cause errors of the form "unsupported XCLK 7". This patch, posted to the XPERT and newbies lists on XFree86.org by La france from ualberta.ca fixes this issue.
Notes
Notes: svn path=/head/; revision=33757
-rw-r--r--x11/XFree86-4/files/patch-l25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/XFree86-4/files/patch-l b/x11/XFree86-4/files/patch-l
new file mode 100644
index 000000000000..d1839b1b9a9d
--- /dev/null
+++ b/x11/XFree86-4/files/patch-l
@@ -0,0 +1,25 @@
+*** programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue Jun 20 21:38:23 2000
+--- programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue Jul 11 10:00:11 2000
+***************
+*** 1207,1216 ****
+ (*p_size)++;
+ (*p_base) = H2B(tag,range.rBegin,type);
+
+- #ifdef DEBUG
+ ErrorF("New PCI res %i base: 0x%lx, size: 0x%lx, type %s\n",
+ res_n,(*p_base),(1 << (*p_size)),type | ResMem ? "Mem" : "Io");
+- #endif
+
+ if (res_n != 0xff) {
+ pciWriteLong(tag,PCI_CMD_BASE_REG + res_n * sizeof(CARD32),
+--- 1207,1214 ----
+***************
+*** 1724,1730 ****
+ resPtr tmp, avoid = NULL;
+
+ if (!pvp->validate) continue;
+- avoid = xf86DupResList(pciAvoidRes);
+ NonSys = xf86DupResList(Sys);
+ m = n;
+ while ((pvp1 = xf86PciVideoInfo[m++])) {
+--- 1722,1727 ----