HomeFreeBSD

Move the lock destruction/creation to earlier in the process - if

Description

Move the lock destruction/creation to earlier in the process - if
interrupts are enabled and the NIC is awake (think: loading a module)
then there's a not-quite-zero window where we'll get an interrupt
for the device before the attach method is called to finish setting
up the hardware.

Since I grab locks in ath_intr() to check various things, the locks
need to be ready much earlier.

Details

Provenance
adrianAuthored on
Parents
rS278764: More fixes to wpi(4), again not by me! Woo!
Branches
Unknown
Tags
Unknown

Event Timeline