2003-03-25 Till Straumann <strauman@slac.stanford.edu>

PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.
This commit is contained in:
Joel Sherrill
2003-03-25 16:48:24 +00:00
parent 8ca2e5b778
commit de223218f5
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,19 @@
2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
code on non-VME BSPs without triggering linkage of the vmeUniverse
driver.
2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
code on non-VME BSPs without triggering linkage of the vmeUniverse
driver.
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps

View File

@@ -315,6 +315,8 @@ int BSP_rtems_irq_mngt_get(rtems_irq_global_settings** config)
return 0;
}
int _BSP_vme_bridge_irq = -1;
static unsigned spuriousIntr = 0;
/*
* High level IRQ handler called from shared_raw_irq_code_entry
@@ -381,7 +383,7 @@ void C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
* it can re-enable the openpic while handling
* VME interrupts (-> VME priorities in software)
*/
if (BSP_PCI_VME_BRIDGE_IRQ!=irq)
if (_BSP_vme_bridge_irq != irq)
#endif
openpic_eoi(0);
}