Date: Sat, 29 May 1999 12:47:53 -0700 (PDT) From: Andrew Gallatin <gallatin@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha mem.c Message-ID: <199905291947.MAA28575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 1999/05/29 12:47:53 PDT Modified files: sys/alpha/alpha mem.c Log: When memory mapping a PCI device (like XFree86 does) on an XP1000, we must use ALPHA_PHYS_TO_K0SEG(offset) rather than just plain offet. I've verified that this does not break other platforms (I've tested an AlphaStation 200 and a Personal Workstation 500au with this patch). As to why this works, well.. Its black magic as far as I know. I obtained this hack from Myricom, who in turn, obtained it from Compaq engineers. Without this hack, XFree86 cannot talk to a PCI graphics card. Reviewed by: Doug Rabson <dfr@nlsystems.com> Obtained from: feldy@myri.com (Bob Felderman) Revision Changes Path 1.8 +2 -2 src/sys/alpha/alpha/mem.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905291947.MAA28575>