summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/pci
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/src/lib/libbsp/powerpc/shared/pci
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/src/lib/libbsp/powerpc/shared/pci')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c2
1 files changed, 1 insertions, 1 deletions
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
*/