From owner-cvs-src@FreeBSD.ORG Sun Aug 29 19:07:14 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 A2C4716A4CE; Sun, 29 Aug 2004 19:07:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99B9243D1D; Sun, 29 Aug 2004 19:07:14 +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 i7TJ7ENg068242; Sun, 29 Aug 2004 19:07:14 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7TJ7Eti068241; Sun, 29 Aug 2004 19:07:14 GMT (envelope-from marcel) Message-Id: <200408291907.i7TJ7Eti068241@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 29 Aug 2004 19:07:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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: Sun, 29 Aug 2004 19:07:14 -0000 marcel 2004-08-29 19:07:14 UTC FreeBSD src repository Modified files: sys/alpha/pci pcibus.c Log: 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. Revision Changes Path 1.35 +1 -1 src/sys/alpha/pci/pcibus.c