CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2009/05/27 13:04:47
Modified files: sys/arch/sgi/pci: ioc.c sys/arch/sgi/xbow: xbridge.c Log message: Yet another attempt at a more reliable detection of the second interrupt used by onboard IOC chips, by forcing the IOC to trigger this interrupt, and some help from the PCI bridge driver to report which interrupt has fired through a fake PCI configuration register. This works nicely on IP27 and IP35, but on IP30 the interrupt doesn't happen, for some reason; so keep the existing heuristic in case the above trick did not give us a valid interrupt number. In case we got an interrupt, this will also detect IOC configurations where there is actually one interrupt, should such configurations exist. <rant style="beck"> I probably deserve to rot in hell for this abomination, but I won't mind as long as the IOC designers who came with the bright ``let's use more than one interrupt and defecate on the pci spec'' ideas are there, too. </rant>