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:
Till Straumann
2006-06-19 20:19:06 +00:00
parent 599e719abe
commit df9cadc2ed
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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;
}