DragonFly commits List (threaded) for 2008-03
DragonFly BSD
DragonFly commits List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/netif/iwl iwl2100.c iwl2100var.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Mar 2008 22:43:52 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]