summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ale.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-01-07 12:26:07 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-01-07 12:26:07 +0000
commit4ef05a3f36d65af848e0f261d22bfae1bcdb70de (patch)
treeccec40cc901b67f94d06e45f047256f82dd7f251 /sys/dev/pci/if_ale.c
parent457008582d2b828dce07a63dd8cfff996f981ee3 (diff)
Rename _rxfilter functions to _iff for consistency. From Brad, ok kevlo@
Diffstat (limited to 'sys/dev/pci/if_ale.c')
-rw-r--r--sys/dev/pci/if_ale.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/if_ale.c b/sys/dev/pci/if_ale.c
index abf811510d1..d1896e6ce4f 100644
--- a/sys/dev/pci/if_ale.c
+++ b/sys/dev/pci/if_ale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ale.c,v 1.9 2009/09/13 14:42:52 krw Exp $ */
+/* $OpenBSD: if_ale.c,v 1.10 2010/01/07 12:26:06 sthen Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -113,7 +113,7 @@ void ale_get_macaddr(struct ale_softc *);
void ale_mac_config(struct ale_softc *);
void ale_phy_reset(struct ale_softc *);
void ale_reset(struct ale_softc *);
-void ale_rxfilter(struct ale_softc *);
+void ale_iff(struct ale_softc *);
void ale_rxvlan(struct ale_softc *);
void ale_stats_clear(struct ale_softc *);
void ale_stats_update(struct ale_softc *);
@@ -1117,7 +1117,7 @@ ale_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if (error == ENETRESET) {
if (ifp->if_flags & IFF_RUNNING)
- ale_rxfilter(sc);
+ ale_iff(sc);
error = 0;
}
@@ -1835,7 +1835,8 @@ ale_init(struct ifnet *ifp)
CSR_WRITE_4(sc, ALE_MAC_CFG, reg);
/* Set up the receive filter. */
- ale_rxfilter(sc);
+ ale_iff(sc);
+
ale_rxvlan(sc);
/* Acknowledge all pending interrupts and clear it. */
@@ -1993,7 +1994,7 @@ ale_rxvlan(struct ale_softc *sc)
}
void
-ale_rxfilter(struct ale_softc *sc)
+ale_iff(struct ale_softc *sc)
{
struct arpcom *ac = &sc->sc_arpcom;
struct ifnet *ifp = &ac->ac_if;