diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-09-16 22:02:06 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-09-16 22:02:06 +0000 |
commit | be750c7755842395b37ff183abb8d18887abc1a5 (patch) | |
tree | edf606cdb840f675c3460454e919334433f0fffc /sys/arch | |
parent | 09b91a71fdf3b3a4052284d066cf70fac783f09b (diff) |
missed flags from mii layer merge
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/hme.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c index 1606266928f..341b3903e7f 100644 --- a/sys/arch/sparc/dev/hme.c +++ b/sys/arch/sparc/dev/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.9 1998/09/10 22:15:21 jason Exp $ */ +/* $OpenBSD: hme.c,v 1.10 1998/09/16 22:02:05 jason Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -506,6 +506,7 @@ hmeinit(sc) struct hme_softc *sc; { u_int32_t c; + struct ifnet *ifp = &sc->sc_arpcom.ac_if; struct hme_tcvr *tcvr = sc->sc_tcvr; struct hme_cr *cr = sc->sc_cr; struct hme_gr *gr = sc->sc_gr; @@ -596,6 +597,10 @@ hmeinit(sc) cr->rx_cfg |= CR_RXCFG_ENABLE; /* enable rx */ mii_mediachg(&sc->sc_mii); + + ifp->if_flags |= IFF_RUNNING; + ifp->if_flags &= ~IFF_OACTIVE; + ifp->if_timer = 0; } static void |