From 4f2d5f021bd2b3c4381c40c47e84d69a40cded11 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Sat, 1 Dec 2007 21:28:37 +0000 Subject: [PATCH] 2007-12-01 Till Straumann * 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. --- c/src/lib/libbsp/powerpc/ChangeLog | 7 +++++++ c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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,3 +1,10 @@ +2007-12-01 Till Straumann + + * 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 * shared/vectors/vectors.h: Give the BSP_Exception_frame 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 */