From c053e48f87ddb79db754199eea18585d41f38788 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 17 Oct 2018 17:09:38 -0400 Subject: [PATCH] freebsd11_network: intr_wrapper method does return handled information. Probably this was a copy/paste error from the "FAST_INTR" method which did not return handled information (and was removed in FreeBSD ~8.) Note that this is a *major* change, as our interrupt scheduling system puts "no handling information" interrupts last, and so it's possible this unbreaks some of the more esoteric chipsets. But it's also possible that our interrupts glue code for some of the drivers is incorrect, and so this will break other devices on the same interrupt line. Please test carefully. --- src/libs/compat/freebsd11_network/bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/compat/freebsd11_network/bus.cpp b/src/libs/compat/freebsd11_network/bus.cpp index 7bda24aec5..7524ef3585 100644 --- a/src/libs/compat/freebsd11_network/bus.cpp +++ b/src/libs/compat/freebsd11_network/bus.cpp @@ -369,7 +369,7 @@ bus_setup_intr(device_t dev, struct resource *res, int flags, } status = install_io_interrupt_handler(intr->irq, - intr_wrapper, intr, B_NO_HANDLED_INFO); + intr_wrapper, intr, 0); } if (status == B_OK && res->r_bustag == 1 && gPCIx86 != NULL) {