fix for alix1.c pci bus detection

Andrew Atrens atrens at nortel.com
Mon Aug 13 13:01:24 PDT 2007


Seen on ALIX.1C board (www.pcengines.ch) .. Matt suspects it may be fix some recent Transmeta -based
issues ..



# cvs diff -u pci_cfgreg.h pcibus.h
Index: pci_cfgreg.h
===================================================================
RCS file: /usr/dfly/repo/src/sys/bus/pci/i386/pci_cfgreg.h,v
retrieving revision 1.2
diff -u -r1.2 pci_cfgreg.h
--- pci_cfgreg.h        27 Jun 2005 02:27:10 -0000      1.2
+++ pci_cfgreg.h        13 Aug 2007 16:52:52 -0000
@@ -36,7 +36,7 @@

 #define CONF1_ENABLE       0x80000000ul
 #define CONF1_ENABLE_CHK   0x80000000ul
-#define CONF1_ENABLE_MSK   0x7ff00000ul
+#define CONF1_ENABLE_MSK   0x7f000000ul
 #define CONF1_ENABLE_CHK1  0xff000001ul
 #define CONF1_ENABLE_MSK1  0x80000001ul
 #define CONF1_ENABLE_RES1  0x80000000ul
Index: pcibus.h
===================================================================
RCS file: /usr/dfly/repo/src/sys/bus/pci/i386/pcibus.h,v
retrieving revision 1.3
diff -u -r1.3 pcibus.h
--- pcibus.h    27 Jun 2005 02:27:10 -0000      1.3
+++ pcibus.h    13 Aug 2007 16:52:44 -0000
@@ -33,7 +33,7 @@

 #define CONF1_ENABLE       0x80000000ul
 #define CONF1_ENABLE_CHK   0x80000000ul
-#define CONF1_ENABLE_MSK   0x7ff00000ul
+#define CONF1_ENABLE_MSK   0x7f000000ul
 #define CONF1_ENABLE_CHK1  0xff000001ul
 #define CONF1_ENABLE_MSK1  0x80000001ul
 #define CONF1_ENABLE_RES1  0x80000000ul






More information about the Submit mailing list