mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
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.
This commit is contained in:
parent
bff1fe7b80
commit
252bdaff13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33757
25
x11/XFree86-4/files/patch-l
Normal file
25
x11/XFree86-4/files/patch-l
Normal file
@ -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 ----
|
Loading…
Reference in New Issue
Block a user