For some iwi(4), the frequency of firmware error is very high, so resurrect
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 12 Aug 2006 13:43:21 +0000 (13:43 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 12 Aug 2006 13:43:21 +0000 (13:43 +0000)
commit3660cb228345016864d3dff34ebe71d1c3774c1c
tree5afbba9f55f2d00473315aee6ff83153ccf8ff2d
parent1eca7b82aa91b2cc3d799174ba230b18a8a3d140
For some iwi(4), the frequency of firmware error is very high, so resurrect
firmware monitor thread, which will reinitialize firmware if some firmware
errors occur.  Rearrange the firmware monitor code to avoid possible races.

Reported-by: Tom Hummel <tom@bluespice.org>
Tested-by: Tom Hummel <tom@bluespice.org>
sys/dev/netif/iwi/if_iwi.c
sys/dev/netif/iwi/if_iwivar.h