diff --git a/sys/pc98/pc98/if_ed.c b/sys/pc98/pc98/if_ed.c index 29e93dee2981..203163b9a993 100644 --- a/sys/pc98/pc98/if_ed.c +++ b/sys/pc98/pc98/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.13 1996/12/07 13:04:21 kato Exp $ + * $Id: if_ed.c,v 1.14 1996/12/11 16:55:27 kato Exp $ */ /* @@ -2553,7 +2553,7 @@ ed_init(xsc) return; /* address not known */ - if (ifp->if_addrlist == (struct ifaddr *) 0) + if (TAILQ_EMPTY(&ifp->if_addrhead)) /* unlikely? XXX */ return; /* diff --git a/sys/pc98/pc98/if_fe.c b/sys/pc98/pc98/if_fe.c index 849081e577e5..2ed23e9485fb 100644 --- a/sys/pc98/pc98/if_fe.c +++ b/sys/pc98/pc98/if_fe.c @@ -21,7 +21,7 @@ */ /* - * $Id: if_fe.c,v 1.11 1996/11/14 08:46:14 asami Exp $ + * $Id: if_fe.c,v 1.12 1996/12/04 04:20:54 asami Exp $ * * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. * To be used with FreeBSD 2.x @@ -1967,7 +1967,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 );