forked from Imagelibrary/rtems
* shared/vme/vmeconfig.c: open outbound window
to VME CSR space if the BSP defines _VME_CSR_ON_PCI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user