Set the interrupt map type accordingly if we need to fall back to using

the PCI bus interrupt map.
This commit is contained in:
Thomas Moestl 2002-03-09 22:02:02 +00:00
parent db20923f96
commit d4f1dcab55

View File

@ -220,6 +220,7 @@ ebus_probe(device_t dev)
&sc->sc_pci_imapmsk);
if (sc->sc_nimap == -1)
panic("ebus_probe: no interrupt map found");
sc->sc_imap_type = EBUS_IT_PCI;
} else {
if (OF_getprop(node, "interrupt-map-mask",
&sc->sc_ebus_imapmsk, sizeof(sc->sc_ebus_imapmsk)) == -1) {