Bug #775

fix for alix1.c pci bus detection

Added by andrew_atrens over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

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

History

#1 Updated by dillon over 7 years ago

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

Committed for wider testing. I'd appreciate it if people running
HEAD could test this sooner rather then later and report back if
their systems no longer boot :-)

-Matt

#2 Updated by hasso over 7 years ago

Closing bug.

Also available in: Atom PDF