From deb27882e8df17ee4016a288ae8a0d7656260533 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 Feb 2005 20:34:47 +0000 Subject: [PATCH] Forgot to mark the IRQ as MPSAFE. --- sys/dev/ieee488/pcii.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/ieee488/pcii.c b/sys/dev/ieee488/pcii.c index a44fd7a903c..fadd96cda72 100644 --- a/sys/dev/ieee488/pcii.c +++ b/sys/dev/ieee488/pcii.c @@ -24,6 +24,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Supported hardware: + * PCIIA compatible cards. + * + * Tested and known working: * "B&C Microsystems PC488A-0" * * A whole lot of wonderful things could be written for GPIB, but for now @@ -182,7 +185,8 @@ pcii_attach(device_t dev) if (sc->irq == NULL) { error = ENXIO; } else { - error = bus_setup_intr(dev, sc->irq, INTR_TYPE_MISC, + error = bus_setup_intr(dev, sc->irq, + INTR_TYPE_MISC | INTR_MPSAFE, upd7210intr, &sc->upd7210, &sc->intr_handler); } }