cvs commit: src/sys/dev/netif/iwl iwl2100.c iwl2100var.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Mar 7 22:45:08 PST 2008
sephe 2008/03/07 22:43:52 PST
DragonFly src repository
Modified files:
sys/dev/netif/iwl iwl2100.c iwl2100var.h
Log:
- 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.
Revision Changes Path
1.3 +121 -17 src/sys/dev/netif/iwl/iwl2100.c
1.2 +4 -0 src/sys/dev/netif/iwl/iwl2100var.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/iwl/iwl2100.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/iwl/iwl2100var.h.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list