mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
252bdaff13
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.
26 lines
781 B
Plaintext
26 lines
781 B
Plaintext
*** 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 ----
|