From 8481e37b533044dd4777b45c6cfc04a5ca3d1c01 Mon Sep 17 00:00:00 2001 From: Warner Losh <imp@FreeBSD.org> Date: Mon, 3 Nov 2008 15:38:45 +0000 Subject: [PATCH] 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. --- sys/dev/pci/pcireg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index 8f8baaa269a9..e9ba5e7213a9 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -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