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

cvs commit: src/sys/dev/netif/dc if_dc.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Aug 2008 04:23:01 -0700 (PDT)

sephe       2008/08/05 04:23:01 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/dc     if_dc.c 
  Log:
  - In dc_intr(), check IFF_RUNNING instead of IFF_UP; this closes a possible
    time window between IFF_UP is set but not IFF_RUNNING.
  - In dc_ioctl(), don't program multicast filter, if NIC is not running yet.
    Add assertion in Xircom's multicast filter programming function to make
    sure that NIC is running.
  - Don't set IFF_RUNNING in Xircom's multicast filter programming function.
  - Move setting IFF_RUNNING before programming multicast filter; just to keep
    the IFF_RUNNING assertion work.  Add comment about it
  
  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1106>
  Tested-by: Tim <t-df@timdarby.net>
  
  Revision  Changes    Path
  1.57      +13 -10    src/sys/dev/netif/dc/if_dc.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/dc/if_dc.c.diff?r1=1.56&r2=1.57&f=u



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