This driver has been MPSAFE from the beginning so declare the interrupt
as such. Reminded by: rwatson@
This commit is contained in:
parent
5b4d2450cc
commit
326570abe3
@ -3059,7 +3059,7 @@ fatm_attach(device_t dev)
|
|||||||
bpfattach(ifp, DLT_ATM_RFC1483, sizeof(struct atmllc));
|
bpfattach(ifp, DLT_ATM_RFC1483, sizeof(struct atmllc));
|
||||||
#endif
|
#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);
|
fatm_intr, sc, &sc->ih);
|
||||||
if (error) {
|
if (error) {
|
||||||
if_printf(ifp, "couldn't setup irq\n");
|
if_printf(ifp, "couldn't setup irq\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user