From owner-cvs-src-old@FreeBSD.ORG Sun Sep 20 19:00:08 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30F3D106568B for ; Sun, 20 Sep 2009 19:00:08 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9818FC14 for ; Sun, 20 Sep 2009 19:00:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8KJ08J0004800 for ; Sun, 20 Sep 2009 19:00:08 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8KJ07to004799 for cvs-src-old@freebsd.org; Sun, 20 Sep 2009 19:00:07 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200909201900.n8KJ07to004799@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 20 Sep 2009 18:59:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/pci pci.c src/sys/sparc64/include param.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 19:00:08 -0000 marius 2009-09-20 18:59:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/pci pci.c sys/sparc64/include param.h Log: SVN rev 197367 on 2009-09-20 18:59:30Z by marius MFC: r195808 Add a MD __PCI_BAR_ZERO_VALID which denotes that BARs containing 0 actually specify valid bases that should be treated just as normal. The PCI specifications have no indication that 0 would be a magic value indicating a disabled BAR as commonly used on at least amd64 and i386 but not sparc64. It's unclear what to do in pci_delete_resource() instead of writing 0 to a BAR though as there's no (other) way do disable individual BARs so its decoding is left enabled in case of __PCI_BAR_ZERO_VALID for now. Approved by: jhb Revision Changes Path 1.355.2.12 +15 -8 src/sys/dev/pci/pci.c 1.22.2.2 +2 -0 src/sys/sparc64/include/param.h