Adapt to lance_init() change

This commit is contained in:
jdolecek 2001-06-20 10:10:12 +00:00
parent 15ed017345
commit 89238be159

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_le.c,v 1.33 2001/05/30 12:28:39 mrg Exp $ */
/* $NetBSD: if_le.c,v 1.34 2001/06/20 10:10:12 jdolecek Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -269,12 +269,12 @@ ariadne_mediachange(sc)
switch (IFM_SUBTYPE(ifm->ifm_media)) {
case IFM_10_T:
sc->sc_initmodemedia = 1;
lance_init(sc);
lance_init(&sc->sc_ethercom.ec_if);
break;
case IFM_10_2:
sc->sc_initmodemedia = 0;
lance_init(sc);
lance_init(&sc->sc_ethercom.ec_if);
break;
case IFM_AUTO: