For some iwi(4), the frequency of firmware error is very high, so resurrect
commit6fff6287c2ce5fae5eb1a5a324e81470a63d6db2
authorsephe <sephe>
Sat, 12 Aug 2006 13:43:21 +0000 (12 13:43 +0000)
committersephe <sephe>
Sat, 12 Aug 2006 13:43:21 +0000 (12 13:43 +0000)
tree4ee3ab38dafebc2bfdca9b6eaedec21592ddedf9
parentad8c38c744f30452604fb2a73a232693f30abd95
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