- In command RX intr, if the command number returned is 0, then hardware
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 8 Mar 2008 06:43:52 +0000 (06:43 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 8 Mar 2008 06:43:52 +0000 (06:43 +0000)
commite175c5b61a8c06af55a917e03353f62ccd747476
tree6d8545cfebce233788d096e966bc9200bd9baaef
parentfb92f9a7c481288b4504644aa03ecc095d9ad2b8
- In command RX intr, if the command number returned is 0, then hardware
  will not work properly afterwards.  This usually happens after the whole
  box is power off and on.  Reinitializing the hardware in a tight loop
  several times does not work in this case.  If this happens, set a callout
  to reinitialize the hardware 1 seconds later.
- Stop various callouts in iwl2100_{init,stop}() before dispatching the
  real work out to device thread.
- Always stop all callouts, if IFF_UP is turned off in ifnet.if_flags.
- Add a flag to mark that the device is detaching, mainly to avoid possible
  stop/(re)init/restart ordering problem in device thread during detaching.
sys/dev/netif/iwl/iwl2100.c
sys/dev/netif/iwl/iwl2100var.h