Date: Wed, 23 Dec 2009 18:24:22 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ste if_ste.c Message-ID: <200912231824.nBNIOdZ2049078@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-12-23 18:24:22 UTC
FreeBSD src repository
Modified files:
sys/dev/ste if_ste.c
Log:
SVN rev 200906 on 2009-12-23 18:24:22Z by yongari
Overhaul RX filter programming.
o Let RX filter handler program promiscuous/multicast filter as
well as broadcasting.
o Remove unnecessary register access.
o Simplify ioctl handler and have set_rxfilter to handle
IFF_PROMISC and IFF_ALLMULTI change instead of directly
programming the controller.
o Removed unnecessary error variable reinitialization in ioctl
handler.
o Add IFF_DRV_RUNNING check before programming multicast filter.
o Configure maximum allowed frame length before enabling MAC.
Datasheet didn't say the exact ordering of programming sequence
but it looks more natural to set maximum allowed frame length
first prior to enabling controller.
Revision Changes Path
1.21 +36 -60 src/sys/dev/ste/if_ste.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912231824.nBNIOdZ2049078>
