From owner-svn-src-head@FreeBSD.ORG Mon Nov 3 15:38:45 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3B981065677; Mon, 3 Nov 2008 15:38:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B29788FC14; Mon, 3 Nov 2008 15:38:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA3FcjTm069857; Mon, 3 Nov 2008 15:38:45 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA3Fcj6L069856; Mon, 3 Nov 2008 15:38:45 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200811031538.mA3Fcj6L069856@svn.freebsd.org> From: Warner Losh Date: Mon, 3 Nov 2008 15:38:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184594 - head/sys/dev/pci X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 15:38:45 -0000 Author: imp Date: Mon Nov 3 15:38:45 2008 New Revision: 184594 URL: http://svn.freebsd.org/changeset/base/184594 Log: Nit: Add a few leading zeros to make this match other mask constants in this file. Also to make sure that I got other ASI constants right. Modified: head/sys/dev/pci/pcireg.h Modified: head/sys/dev/pci/pcireg.h ============================================================================== --- head/sys/dev/pci/pcireg.h Mon Nov 3 14:35:43 2008 (r184593) +++ head/sys/dev/pci/pcireg.h Mon Nov 3 15:38:45 2008 (r184594) @@ -133,7 +133,7 @@ #define PCIM_BAR_IO_RESERVED 0x00000002 #define PCIM_BAR_IO_BASE 0xfffffffc #define PCIR_CIS 0x28 -#define PCIM_CIS_ASI_MASK 0x7 +#define PCIM_CIS_ASI_MASK 0x00000007 #define PCIM_CIS_ASI_CONFIG 0 #define PCIM_CIS_ASI_BAR0 1 #define PCIM_CIS_ASI_BAR1 2