This driver has been MPSAFE from the beginning, so declare the interrupt

as such.

Reminded by:	rwatson@
This commit is contained in:
Hartmut Brandt 2006-03-21 14:54:42 +00:00
parent 93a69f5703
commit 5b4d2450cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156949

View File

@ -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);