summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index 9c877bff5b..3a4ad80ac7 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,5 +1,11 @@
2006-06-19 Till Straumann <strauman@slac.stanford.edu>
+ * shared/vme/vmeconfig.c: Indicate that it's ok to
+ use decoupled cycles to access on-board memory from
+ VME.
+
+2006-06-19 Till Straumann <strauman@slac.stanford.edu>
+
* shared/vme/vme_universe.c: Only set/access the
_BSP_vme_bridge_irq variable on BSPs that
define BSP_PCI_VME_DRIVER_DOES_EOI and BSP_PIC_DO_EOI.
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
index e951acf51c..c726cbb675 100644
--- a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
+++ b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
@@ -64,10 +64,12 @@ __BSP_default_vme_config(void)
0x00010000);
#ifdef _VME_DRAM_OFFSET
- /* map our memory to VME */
+ /* map our memory to VME giving the driver a hint that it's ordinary memory
+ * so they can enable decoupled cycles which should give better performance...
+ */
BSP_VMEInboundPortCfg(
0,
- VME_AM_EXT_SUP_DATA,
+ VME_AM_EXT_SUP_DATA | VME_AM_IS_MEMORY,
_VME_DRAM_OFFSET,
PCI_DRAM_OFFSET,
BSP_mem_size);