* shared/vme/vmeconfig.c: open outbound window

to VME CSR space if the BSP defines _VME_CSR_ON_PCI
This commit is contained in:
Till Straumann
2006-08-22 02:52:29 +00:00
parent d5423d834a
commit 655c8bf240
2 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2006-08-21 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c: open outbound window
to VME CSR space if the BSP defines _VME_CSR_ON_PCI
2006-08-10 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: fixed type of

View File

@@ -49,7 +49,7 @@ __BSP_default_vme_config(void)
VME_AM_EXT_SUP_DATA,
_VME_A32_WIN0_ON_VME,
_VME_A32_WIN0_ON_PCI,
0x0F000000);
0x0e000000);
BSP_VMEOutboundPortCfg(
1,
VME_AM_STD_SUP_DATA,
@@ -63,6 +63,17 @@ __BSP_default_vme_config(void)
_VME_A16_ON_PCI,
0x00010000);
#ifdef _VME_CSR_ON_PCI
/* Map VME64 CSR */
BSP_VMEOutboundPortCfg(
7,
VME_AM_CSR,
0,
_VME_CSR_ON_PCI,
0x01000000);
#endif
#ifdef _VME_DRAM_OFFSET
/* 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...