diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2006-08-22 02:52:29 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2006-08-22 02:52:29 +0000 |
commit | 655c8bf240507ca65487a24091a3416831ba39d3 (patch) | |
tree | 1a9d2b167edb969b2db962a945f1f8eb5cc7dbb6 /c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c | |
parent | * libnetworking/net/if_ethersubr.c: (ether_ioctl) (diff) | |
download | rtems-655c8bf240507ca65487a24091a3416831ba39d3.tar.bz2 |
* shared/vme/vmeconfig.c: open outbound window
to VME CSR space if the BSP defines _VME_CSR_ON_PCI
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c index c726cbb675..408370587a 100644 --- a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c +++ b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c @@ -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... |