From owner-cvs-src@FreeBSD.ORG Sat Mar 31 21:39:03 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2F5316A404; Sat, 31 Mar 2007 21:39:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CD59C13C448; Sat, 31 Mar 2007 21:39:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2VLd2XW085755; Sat, 31 Mar 2007 21:39:02 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2VLd2MQ085752; Sat, 31 Mar 2007 21:39:02 GMT (envelope-from jhb) Message-Id: <200703312139.l2VLd2MQ085752@repoman.freebsd.org> From: John Baldwin Date: Sat, 31 Mar 2007 21:39:02 +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/ipmi ipmi_pci.c src/sys/dev/pci pci.c pcireg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 31 Mar 2007 21:39:03 -0000 jhb 2007-03-31 21:39:02 UTC FreeBSD src repository Modified files: sys/dev/ipmi ipmi_pci.c sys/dev/pci pci.c pcireg.h Log: Add constants for the fields in a BAR. Also, add two new macros PCI_BAR_(IO|MEM)() that return true if the passed in value from a BAR is for an IO or memory BAR, respectively. Reviewed by: imp Revision Changes Path 1.4 +2 -5 src/sys/dev/ipmi/ipmi_pci.c 1.348 +30 -34 src/sys/dev/pci/pci.c 1.61 +13 -0 src/sys/dev/pci/pcireg.h