if_fe.c (72012) | if_fe.c (72084) |
---|---|
1/* 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 7 unchanged lines hidden (view full) --- 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 */ 22 23/* | 1/* 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 7 unchanged lines hidden (view full) --- 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 */ 22 23/* |
24 * $FreeBSD: head/sys/dev/fe/if_fe.c 72012 2001-02-04 16:08:18Z phk $ | 24 * $FreeBSD: head/sys/dev/fe/if_fe.c 72084 2001-02-06 10:12:15Z phk $ |
25 * 26 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. 27 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp> 28 * 29 * This version is intended to be a generic template for various 30 * MB86960A/MB86965A based Ethernet cards. It currently supports 31 * Fujitsu FMV-180 series for ISA and Allied-Telesis AT1700/RE2000 32 * series for ISA, as well as Fujitsu MBH10302 PC card. --- 2082 unchanged lines hidden (view full) --- 2115static struct fe_filter 2116fe_mcaf ( struct fe_softc *sc ) 2117{ 2118 int index; 2119 struct fe_filter filter; 2120 struct ifmultiaddr *ifma; 2121 2122 filter = fe_filter_nothing; | 25 * 26 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. 27 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp> 28 * 29 * This version is intended to be a generic template for various 30 * MB86960A/MB86965A based Ethernet cards. It currently supports 31 * Fujitsu FMV-180 series for ISA and Allied-Telesis AT1700/RE2000 32 * series for ISA, as well as Fujitsu MBH10302 PC card. --- 2082 unchanged lines hidden (view full) --- 2115static struct fe_filter 2116fe_mcaf ( struct fe_softc *sc ) 2117{ 2118 int index; 2119 struct fe_filter filter; 2120 struct ifmultiaddr *ifma; 2121 2122 filter = fe_filter_nothing; |
2123 LIST_FOREACH(ifma, &sc->arpcom.ac_if.if_multiaddrs, ifma_link) { | 2123 TAILQ_FOREACH(ifma, &sc->arpcom.ac_if.if_multiaddrs, ifma_link) { |
2124 if (ifma->ifma_addr->sa_family != AF_LINK) 2125 continue; 2126 index = fe_hash(LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); 2127#ifdef FE_DEBUG 2128 printf("fe%d: hash(%6D) == %d\n", 2129 sc->sc_unit, enm->enm_addrlo , ":", index); 2130#endif 2131 --- 164 unchanged lines hidden --- | 2124 if (ifma->ifma_addr->sa_family != AF_LINK) 2125 continue; 2126 index = fe_hash(LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); 2127#ifdef FE_DEBUG 2128 printf("fe%d: hash(%6D) == %d\n", 2129 sc->sc_unit, enm->enm_addrlo , ":", index); 2130#endif 2131 --- 164 unchanged lines hidden --- |