MFC: if_dc.c rev1.57
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 5 Aug 2008 11:30:33 +0000 (11:30 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 5 Aug 2008 11:30:33 +0000 (11:30 +0000)
commit57bec7ec95bc8e125bb83d8615dc2000c88de515
treeccf394baf4ac5964f7aa1092d6a84847896116ea
parente2fa72d02f60fb0f8e3ca37ebc3029579918497d
MFC: if_dc.c rev1.57
  - 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>
sys/dev/netif/dc/if_dc.c