summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-07-18 17:05:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-07-18 17:05:48 +0000
commit674b94973e915e98bebb679f738b3ff07abbc04d (patch)
treeb3e1c6e2406fb3b4822b095d0f99c77b671639bf /c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
parent2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff)
downloadrtems-674b94973e915e98bebb679f738b3ff07abbc04d.tar.bz2
2003-07-18 Till Straumann <strauman@slac.stanford.edu>
PR 415/bsps * pci/detect_raven_bridge.c, startup/bspstart.c: This patch reverts enabling MCP interrupts for the motorola_powerpc BSPs. REASON: pci config space scanning (as e.g. done by the DEC Ethernet driver) would raise machine check exceptions.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index 4e5e1d0d9e..dce5fb6191 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -336,8 +336,10 @@ void bsp_start( void )
BSP_time_base_divisor = (residualCopy.VitalProductData.TimeBaseDivisor?
residualCopy.VitalProductData.TimeBaseDivisor : 4000);
- /* clear hostbridge errors and enable MCP */
- _BSP_clear_hostbridge_errors(1/*enableMCP*/, 0/*quiet*/);
+ /* clear hostbridge errors but leave MCP disabled -
+ * PCI config space scanning code will trip otherwise :-(
+ */
+ _BSP_clear_hostbridge_errors(0 /* enableMCP */, 0/*quiet*/);
/* Allocate and set up the page table mappings