summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-03-09 22:02:02 +0000
committertmm <tmm@FreeBSD.org>2002-03-09 22:02:02 +0000
commitbea936f66b75992bb103cc88b6a4b2fdd2393d14 (patch)
tree1df9dd8dc8169adf4b07aa8f940ebac5873fbd01 /sys/sparc64
parenta3bd8f39b9c4401983b1ac302fd0b9ae5f2864d2 (diff)
downloadFreeBSD-src-bea936f66b75992bb103cc88b6a4b2fdd2393d14.zip
FreeBSD-src-bea936f66b75992bb103cc88b6a4b2fdd2393d14.tar.gz
Set the interrupt map type accordingly if we need to fall back to using
the PCI bus interrupt map.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/ebus/ebus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/ebus/ebus.c b/sys/sparc64/ebus/ebus.c
index 90560a9..f28343a 100644
--- a/sys/sparc64/ebus/ebus.c
+++ b/sys/sparc64/ebus/ebus.c
@@ -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) {
OpenPOWER on IntegriCloud