From 326570abe3caece246c58b4a5d17a67314c0f4f0 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 21 Mar 2006 14:56:42 +0000 Subject: [PATCH] This driver has been MPSAFE from the beginning so declare the interrupt as such. Reminded by: rwatson@ --- sys/dev/fatm/if_fatm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c index 30e2734dbd5b..6916c8c51619 100644 --- a/sys/dev/fatm/if_fatm.c +++ b/sys/dev/fatm/if_fatm.c @@ -3059,7 +3059,7 @@ fatm_attach(device_t dev) bpfattach(ifp, DLT_ATM_RFC1483, sizeof(struct atmllc)); #endif - error = bus_setup_intr(dev, sc->irqres, INTR_TYPE_NET, + error = bus_setup_intr(dev, sc->irqres, INTR_TYPE_NET | INTR_MPSAFE, fatm_intr, sc, &sc->ih); if (error) { if_printf(ifp, "couldn't setup irq\n");