Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 18:19:05 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/pci if_rl.c
Message-ID:  <201010081819.o98IJKYv099801@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-10-08 18:19:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/pci              if_rl.c 
  Log:
  SVN rev 213590 on 2010-10-08 18:19:05Z by yongari
  
  MFC r213306:
    Rename rl_setmulti() to rl_rxfilter() as rl_rxfilter() will handle
    IFF_ALLMULTI/IFF_PROMISC as well as multicast filter configuration.
    Rewrite RX filter logic to reduce number of register accesses and
    make it handle promiscuous/allmulti toggling without controller
    reinitialization.
  
    Previously rl(4) counted on controller reinitialization to reprogram
    promiscuous configuration but r211767 resulted in avoiding
    controller reinitialization whenever promiscuous mode is toggled.
    To address this, keep track of driver's view of interface state and
    handle IFF_ALLMULTI/IFF_PROMISC changes without reinitializing
    controller. This should fix a regression introduced in r211267.
  
    While I'm here remove unnecessary variable reassignment in ioctl
    handler.
  
    PR:   kern/151079
  
  Revision   Changes    Path
  1.189.2.5  +42 -66    src/sys/pci/if_rl.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010081819.o98IJKYv099801>