diff options
author | harti <harti@FreeBSD.org> | 2006-03-21 14:54:42 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2006-03-21 14:54:42 +0000 |
commit | 470a08aa5e2c5d203375f2eec82e659973ceb4eb (patch) | |
tree | bfd427d7083905d101745069fa58cdc2e3299024 /sys/dev/patm | |
parent | 92efa6907d7c3f35f6af1a8fd2406fa446728f8e (diff) | |
download | FreeBSD-src-470a08aa5e2c5d203375f2eec82e659973ceb4eb.zip FreeBSD-src-470a08aa5e2c5d203375f2eec82e659973ceb4eb.tar.gz |
This driver has been MPSAFE from the beginning, so declare the interrupt
as such.
Reminded by: rwatson@
Diffstat (limited to 'sys/dev/patm')
-rw-r--r-- | sys/dev/patm/if_patm_attach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/patm/if_patm_attach.c b/sys/dev/patm/if_patm_attach.c index 0402d62..b0ab9c0 100644 --- a/sys/dev/patm/if_patm_attach.c +++ b/sys/dev/patm/if_patm_attach.c @@ -441,8 +441,8 @@ patm_attach(device_t dev) #endif patm_debug(sc, ATTACH, "attaching interrupt handler"); - error = bus_setup_intr(dev, sc->irqres, INTR_TYPE_NET, patm_intr, - sc, &sc->ih); + error = bus_setup_intr(dev, sc->irqres, INTR_TYPE_NET | INTR_MPSAFE, + patm_intr, sc, &sc->ih); if (error != 0) { patm_printf(sc, "could not setup interrupt\n"); atm_ifdetach(sc->ifp); |