Load bwi(4) firmware once, not every time the interface is brought up.
authorstsp <stsp@openbsd.org>
Sun, 20 Jul 2014 11:56:15 +0000 (11:56 +0000)
committerstsp <stsp@openbsd.org>
Sun, 20 Jul 2014 11:56:15 +0000 (11:56 +0000)
commit0417ded58b5801a27ed0c590542000507ec3d080
treefe0496bbdd8fcef9965ba3542ba1f0eb2daf29e9
parent0bbe69e31e8a2b6a101c0c2b51f419570c0dbaf0
Load bwi(4) firmware once, not every time the interface is brought up.
Fixes a panic if the interrupt handler decides to reset the device.
Firmware cannot be loaded in interrupt context.
ok mpi@ as part of a larger diff
sys/dev/ic/bwi.c