summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-12-01 21:28:37 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-12-01 21:28:37 +0000
commit4f2d5f021bd2b3c4381c40c47e84d69a40cded11 (patch)
tree02b2e45b6394c308098677120d403445601cfc09 /c
parent2007-12-01 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-4f2d5f021bd2b3c4381c40c47e84d69a40cded11.tar.bz2
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/pci/detect_raven_bridge.c: use ifdef mvme2100 rather than ifdef mpc824x so that we don't depend on compile-time CPU flavor. Eventually, this should become a run-time check.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog7
-rw-r--r--c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index db459676b7..45ff4596d6 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,5 +1,12 @@
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
+ * shared/pci/detect_raven_bridge.c: use ifdef mvme2100
+ rather than ifdef mpc824x so that we don't depend on
+ compile-time CPU flavor. Eventually, this should become
+ a run-time check.
+
+2007-12-01 Till Straumann <strauman@slac.stanford.edu>
+
* shared/vectors/vectors.h: Give the BSP_Exception_frame
struct a name.
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
index c29fa04660..1abf3c6235 100644
--- a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
+++ b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
@@ -32,7 +32,7 @@
extern const pci_config_access_functions pci_direct_functions;
extern const pci_config_access_functions pci_indirect_functions;
-#if (defined(mpc8240) || defined(mpc8245))
+#if defined(mvme2100)
/* FIXME - this should really be in a separate file - the 2100 doesn't
* have a raven chip so there is no point having 2100 code here
*/