git: 012f1e4ae350 - main - axidma(4): switch interrupt type.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Dec 2025 09:29:17 UTC
The branch main has been updated by br:
URL: https://cgit.FreeBSD.org/src/commit/?id=012f1e4ae350015ddb896e3d482485ce8258c0ef
commit 012f1e4ae350015ddb896e3d482485ce8258c0ef
Author: Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2025-12-16 09:25:58 +0000
Commit: Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2025-12-16 09:25:58 +0000
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
---
sys/dev/xilinx/axidma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");