svn commit: r184594 - head/sys/dev/pci

Warner Losh imp at FreeBSD.org
Mon Nov 3 07:38:45 PST 2008


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


More information about the svn-src-all mailing list