https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280290
John Baldwin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #30 from John Baldwin <[email protected]> --- Any state that the interrupt handler depends on or can modify should be fully initialized before interrupts are enabled on the device. If the device has some sort of command register that can mask interrupts, the attach routine should probably be masking interrupts until the attach has fully initialized things. You can also defer bus_setup_intr() until after the device is initialized, though you potentially risk spurious interrupts if the device can raise an interrupt before the driver has attached the handler. -- You are receiving this mail because: You are the assignee for the bug.
