From owner-cvs-src@FreeBSD.ORG Fri Apr 29 02:15:42 2005 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 752D916A4CE; Fri, 29 Apr 2005 02:15:41 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4796843D2F; Fri, 29 Apr 2005 02:15:41 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3T2Ff9F002127; Fri, 29 Apr 2005 02:15:41 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3T2FfTO002126; Fri, 29 Apr 2005 02:15:41 GMT (envelope-from marcel) Message-Id: <200504290215.j3T2FfTO002126@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 29 Apr 2005 02:15:40 +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/dev/pci pci_pci.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: Fri, 29 Apr 2005 02:15:42 -0000 marcel 2005-04-29 02:15:40 UTC FreeBSD src repository Modified files: sys/dev/pci pci_pci.c Log: In pcib_alloc_resource() check if the resource allocation request is for the VGA I/O or memory ranges, when it's not within the default ranges decoded by the bridge. When allocation for VGA addresses is attempted, check that the bridge has the VGA Enable bit set before allowing it. As such, newbusified VGA drivers can allocate their resources when the VGA adapter is behind a PCI-to-PCI bridge. Reviewed by: imp@, jhb@ Revision Changes Path 1.36 +16 -0 src/sys/dev/pci/pci_pci.c