aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/pci/fire.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-01-04 16:11:32 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-01-04 16:11:32 +0000
commitf4ff513c4bc4a6e950a29b8cdde71f37a54da522 (patch)
tree3a10cef99747878bec6386bc232c49d51769a06e /sys/sparc64/pci/fire.c
parentaa829cef6ac106746210298e80b65b0964cc4be3 (diff)
downloadsrc-f4ff513c4bc4a6e950a29b8cdde71f37a54da522.tar.gz
src-f4ff513c4bc4a6e950a29b8cdde71f37a54da522.zip
Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for
and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb MFC after: 1 month
Notes
Notes: svn path=/head/; revision=216961
Diffstat (limited to 'sys/sparc64/pci/fire.c')
-rw-r--r--sys/sparc64/pci/fire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/fire.c b/sys/sparc64/pci/fire.c
index e401a6c61721..70fc13eaa14d 100644
--- a/sys/sparc64/pci/fire.c
+++ b/sys/sparc64/pci/fire.c
@@ -836,7 +836,7 @@ fire_set_intr(struct fire_softc *sc, u_int index, u_int ino,
INTIGN(vec) != sc->sc_ign ||
intr_vectors[vec].iv_ic != &fire_ic ||
bus_setup_intr(sc->sc_dev, sc->sc_irq_res[index],
- INTR_TYPE_MISC | INTR_FAST, handler, NULL, arg,
+ INTR_TYPE_MISC | INTR_BRIDGE, handler, NULL, arg,
&sc->sc_ihand[index]) != 0)
panic("%s: failed to set up interrupt %d", __func__, index);
}