forked from Imagelibrary/rtems
Only set/access the _BSP_vme_bridge_irq variable on BSPs that
define BSP_PCI_VME_DRIVER_DOES_EOI and BSP_PIC_DO_EOI.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-06-19 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/vme/vme_universe.c: Only set/access the
|
||||
_BSP_vme_bridge_irq variable on BSPs that
|
||||
define BSP_PCI_VME_DRIVER_DOES_EOI and BSP_PIC_DO_EOI.
|
||||
|
||||
2006-06-19 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/vectors/vectors.S: filter exception vector for
|
||||
|
||||
@@ -118,8 +118,10 @@ int BSP_VMEIrqMgrInstall()
|
||||
#else
|
||||
BSP_VME_UNIVERSE_INSTALL_IRQ_MGR;
|
||||
#endif
|
||||
#if defined(BSP_PCI_VME_DRIVER_DOES_EOI) && defined(BSP_PIC_DO_EOI)
|
||||
if (vmeUniverse0PciIrqLine<0)
|
||||
BSP_panic("Unable to get universe interrupt line info from PCI config");
|
||||
_BSP_vme_bridge_irq = vmeUniverse0PciIrqLine;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user