aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordec <dec@FreeBSD.org>2000-10-13 11:48:23 +0800
committerdec <dec@FreeBSD.org>2000-10-13 11:48:23 +0800
commit459c0fbf1b18bfda17a9e586ed279592741c7fab (patch)
tree6bf2e50e653cdcfe0531d3d3a150a3f329e2a17b
parent7af1653a1f4d039809725277962a53f2a438f74a (diff)
downloadfreebsd-ports-gnome-459c0fbf1b18bfda17a9e586ed279592741c7fab.tar.gz
freebsd-ports-gnome-459c0fbf1b18bfda17a9e586ed279592741c7fab.tar.zst
freebsd-ports-gnome-459c0fbf1b18bfda17a9e586ed279592741c7fab.zip
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.
-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 ----