summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-11-03 15:38:45 +0000
committerimp <imp@FreeBSD.org>2008-11-03 15:38:45 +0000
commitcb4c4bdda2ec3a001d9a89c64e5a3828f1598551 (patch)
tree79918dfc0868bfc669e67d4b47b8d2cbfde956f9 /sys/dev/pci
parent8b15685a63100c9058aad62ebb7c5d77df4bcbba (diff)
downloadFreeBSD-src-cb4c4bdda2ec3a001d9a89c64e5a3828f1598551.zip
FreeBSD-src-cb4c4bdda2ec3a001d9a89c64e5a3828f1598551.tar.gz
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.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcireg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 8f8baaa..e9ba5e7 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
OpenPOWER on IntegriCloud