From owner-cvs-src@FreeBSD.ORG Thu Sep 2 06:12:20 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F74716A4CE; Thu, 2 Sep 2004 06:12:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156BD43D39; Thu, 2 Sep 2004 06:12:20 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i826CJGS039428; Thu, 2 Sep 2004 06:12:19 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i826CJcZ039427; Thu, 2 Sep 2004 06:12:19 GMT (envelope-from marcel) Message-Id: <200409020612.i826CJcZ039427@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 2 Sep 2004 06:12:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/alpha/pci pcibus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 06:12:20 -0000 marcel 2004-09-02 06:12:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/alpha/pci pcibus.c Log: MFC rev 1.35: In alpha_pci_alloc_resource(), when allocating a memory resource, do not set the virtual address to the bus address when the bus doesn't have either of the PCI_RF_DENSE or PCI_RF_BWX flags set. The TGA driver uses the virtual address to access the registers, which on some machines can cause a memory management fault. Map the bus address as K0SEG virtual memory instead. Note that with some hardware combinations involving the TGA2 adapter this change merely results that the memory management fault is replaced by a machine check. Approved by: re (scottl) Revision Changes Path 1.34.2.1 +1 -1 src/sys/alpha/pci/pcibus.c