summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-15 22:18:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-15 22:18:12 +0000
commitd5d1aa6f71cdfd10a18be9a2507e272e4935e1bc (patch)
treedc00ee5f274e90445dc4b774d8e8041d0fc8b831 /sys/dev/ic
parent71fe4b8d3be9eafb84ac5f1e0da3e85dae9b2141 (diff)
make it at least compile; parts from maurice@amaze.nl
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/awi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c
index 1fa41d03b96..245b68677c1 100644
--- a/sys/dev/ic/awi.c
+++ b/sys/dev/ic/awi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awi.c,v 1.10 2002/03/14 01:26:54 millert Exp $ */
+/* $OpenBSD: awi.c,v 1.11 2002/09/15 22:18:11 deraadt Exp $ */
/* $NetBSD: awi.c,v 1.26 2000/07/21 04:48:55 onoe Exp $ */
/*-
@@ -480,7 +480,7 @@ awi_ioctl(ifp, cmd, data)
s = splnet();
#ifdef __OpenBSD__
- if ((error = ether_ioctl(ifp, &sc->sc_ec, cmd, data)) > 0) {
+ if ((error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data)) > 0) {
splx(s);
return (error);
}
@@ -521,8 +521,8 @@ awi_ioctl(ifp, cmd, data)
error = ENETRESET; /*XXX*/
#else
error = (cmd == SIOCADDMULTI) ?
- ether_addmulti(ifr, &sc->sc_ec) :
- ether_delmulti(ifr, &sc->sc_ec);
+ ether_addmulti(ifr, &sc->sc_arpcom) :
+ ether_delmulti(ifr, &sc->sc_arpcom);
#endif
/*
* Do not rescan BSS. Rather, just reset multicast filter.
@@ -822,7 +822,7 @@ awi_init(sc)
n++;
}
#else
- ETHER_FIRST_MULTI(step, &sc->sc_ec, enm);
+ ETHER_FIRST_MULTI(step, &sc->sc_arpcom, enm);
while (enm != NULL) {
if (n == AWI_GROUP_ADDR_SIZE ||
memcmp(enm->enm_addrlo, enm->enm_addrhi, ETHER_ADDR_LEN)