aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2025-12-16 09:25:58 +0000
committerRuslan Bukin <br@FreeBSD.org>2025-12-16 09:25:58 +0000
commit012f1e4ae350015ddb896e3d482485ce8258c0ef (patch)
tree9f306d7b9f7fcbb060a42921646e4da2e10f6e1c
parent00352ef6d2a013650f0ab2a4c9b016c22552ed25 (diff)
axidma(4): switch interrupt type.
Switch interrupt type to NET so that it enters net epoch during interrupt service routine. Sponsored by: CHERI Research Centre
-rw-r--r--sys/dev/xilinx/axidma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xilinx/axidma.c b/sys/dev/xilinx/axidma.c
index 29757a335dee..001f2a9df6c8 100644
--- a/sys/dev/xilinx/axidma.c
+++ b/sys/dev/xilinx/axidma.c
@@ -172,7 +172,7 @@ axidma_setup_cb(device_t dev, int chan_id, void (*cb)(void *), void *arg)
return (EEXIST);
error = bus_setup_intr(dev, sc->res[chan_id + 1],
- INTR_TYPE_MISC | INTR_MPSAFE, NULL, cb, arg,
+ INTR_TYPE_NET | INTR_MPSAFE, NULL, cb, arg,
&sc->ih[chan_id]);
if (error)
device_printf(dev, "Unable to alloc interrupt resource.\n");