In the FreeBSD source code, the bus_teardown_intr method in sys / kern / subr_bus.c calls "BUS_TEARDOWN_INTR". What does BUS_TEARDOWN_INTR do? I can not find his definition.
I am attaching a piece of code for reference
int bus_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) { if (dev->parent) return (EINVAL); return (BUS_TEARDOWN_INTR(dev->parent, child, irq, cookie)); }
Here is a link to the code "fxr.watson.org/fxr/source/kern/subr_bus.c", line number 4177 corresponds to the code above.
sri91 source share