From owner-cvs-all@FreeBSD.ORG Sun Jul 29 02:44:42 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEB2D16A419; Sun, 29 Jul 2007 02:44:42 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A666413C481; Sun, 29 Jul 2007 02:44:42 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6T2igHI035292; Sun, 29 Jul 2007 02:44:42 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6T2igGQ035287; Sun, 29 Jul 2007 02:44:42 GMT (envelope-from marcel) Message-Id: <200707290244.l6T2igGQ035287@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 29 Jul 2007 02:44:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/pci pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 02:44:43 -0000 marcel 2007-07-29 02:44:41 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: In pci_alloc_map(), restore the original value of the BAR for the duration of the function. The device we would otherwise have left in an useless state may just as well be the low-level console. When booting verbose, we do need it addressable if we want to avoid a MCA. Approved by: re (kensmith) Revision Changes Path 1.354 +8 -0 src/sys/dev/pci/pci.c