summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
index 04347d270a..c075ed2652 100644
--- a/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
+++ b/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
@@ -11,10 +11,15 @@
* hardcoded window lengths that match this
* layout:
*/
-#define _VME_A32_WIN0_ON_PCI 0x10000000
-#define _VME_A24_ON_PCI 0x1f000000
-#define _VME_A16_ON_PCI 0x1fff0000
-
+#if defined(mvme2100)
+ #define _VME_A32_WIN0_ON_PCI 0x80000000
+ #define _VME_A24_ON_PCI 0x8f000000
+ #define _VME_A16_ON_PCI 0x8fff0000
+#else
+ #define _VME_A32_WIN0_ON_PCI 0x10000000
+ #define _VME_A24_ON_PCI 0x1f000000
+ #define _VME_A16_ON_PCI 0x1fff0000
+#endif
/* start of the A32 window on the VME bus
* TODO: this should perhaps be a configuration option
*/