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 */