forked from Imagelibrary/rtems
2008-08-28 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: added implementation for BSP_VMEResetBus().
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-28 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/vme/vme_universe.c: added implementation for
|
||||
BSP_VMEResetBus().
|
||||
|
||||
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/flash/flash.c, shared/irq/irq_init.c: Add missing
|
||||
|
||||
@@ -100,6 +100,7 @@ typedef struct {
|
||||
int (*inbound_p_cfg) (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
|
||||
void (*outbound_p_show)(FILE*);
|
||||
void (*inbound_p_show) (FILE*);
|
||||
void (*reset_bus)(void);
|
||||
int (*install_irq_mgr)(int, int, int, ...);
|
||||
int irq_mgr_flags;
|
||||
} VMEOpsRec, *VMEOps;
|
||||
@@ -126,6 +127,7 @@ static VMEOpsRec uniOpsRec = {
|
||||
inbound_p_cfg: vmeUniverseSlavePortCfg,
|
||||
outbound_p_show: vmeUniverseMasterPortsShow,
|
||||
inbound_p_show: vmeUniverseSlavePortsShow,
|
||||
reset_bus: vmeUniverseResetBus,
|
||||
install_irq_mgr: vmeUniverseInstallIrqMgrAlt,
|
||||
irq_mgr_flags: VMEUNIVERSE_IRQ_MGR_FLAG_SHARED |
|
||||
VMEUNIVERSE_IRQ_MGR_FLAG_PW_WORKAROUND,
|
||||
@@ -155,6 +157,7 @@ static VMEOpsRec tsiOpsRec = {
|
||||
inbound_p_cfg: vmeTsi148InboundPortCfg,
|
||||
outbound_p_show: vmeTsi148OutboundPortsShow,
|
||||
inbound_p_show: vmeTsi148InboundPortsShow,
|
||||
reset_bus: vmeTsi148ResetBus,
|
||||
install_irq_mgr: vmeTsi148InstallIrqMgrAlt,
|
||||
irq_mgr_flags: VMETSI148_IRQ_MGR_FLAG_SHARED,
|
||||
};
|
||||
@@ -256,6 +259,12 @@ BSP_VMEInboundPortsShow(FILE *f)
|
||||
theOps->inbound_p_show(f);
|
||||
}
|
||||
|
||||
void
|
||||
BSP_VMEResetBus(void)
|
||||
{
|
||||
theOps->reset_bus();
|
||||
}
|
||||
|
||||
int
|
||||
BSP_VMEDmaSetup(int channel, uint32_t bus_mode, uint32_t xfer_mode, void *custom_setup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user