From 59562606b9d3a958fa83ee8eb41ebc8da8ac6f73 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Fri, 13 Dec 1996 21:29:07 +0000 Subject: Convert the interface address and IP interface address structures to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable). --- sys/dev/fe/if_fe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/fe') diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index a8fdc3cd213a..9c2cf8e33c9f 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -21,7 +21,7 @@ */ /* - * $Id: if_fe.c,v 1.20 1996/10/07 17:50:00 wollman Exp $ + * $Id: if_fe.c,v 1.21 1996/11/15 16:15:56 wollman Exp $ * * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. * To be used with FreeBSD 2.x @@ -1701,7 +1701,7 @@ fe_init ( int unit ) #endif /* We need an address. */ - if (sc->sc_if.if_addrlist == 0) { + if (TAILQ_EMPTY(&sc->sc_if.if_addrhead)) { /* XXX unlikely */ #if FE_DEBUG >= 1 log( LOG_ERR, "fe%d: init() without any address\n", sc->sc_unit ); -- cgit v1.3