diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 13:13:25 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 13:13:25 +0000 |
| commit | fc2ffbe6040d6630a06229c5c9be77601fb635eb (patch) | |
| tree | 328f91e23b34b382d998fba4c7e55796b240b62b /sys/dev/ti | |
| parent | ef9e85abba5ce45c8b3fc840db320edb1abe0160 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ti')
| -rw-r--r-- | sys/dev/ti/if_ti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index cb28d01c4e10..1d52547e29be 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -1073,8 +1073,8 @@ static void ti_setmulti(sc) CSR_WRITE_4(sc, TI_MB_HOSTINTR, 1); /* First, zot all the existing filters. */ - while (sc->ti_mc_listhead.slh_first != NULL) { - mc = sc->ti_mc_listhead.slh_first; + while (SLIST_FIRST(&sc->ti_mc_listhead) != NULL) { + mc = SLIST_FIRST(&sc->ti_mc_listhead); ti_del_mcast(sc, &mc->mc_addr); SLIST_REMOVE_HEAD(&sc->ti_mc_listhead, mc_entries); free(mc, M_DEVBUF); |
