diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-07-09 17:22:13 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-07-09 17:22:13 +0000 |
commit | e9da1a8c7238156d6519f3fc34a1ac61b7a96129 (patch) | |
tree | f03bdb7996628c97690a1daace396f888fc5bf01 | |
parent | ad89056bb17175c9e235ecb96517ac6801d562a3 (diff) |
Move IFQ_SET_READY macro to attach time.
-rw-r--r-- | sys/dev/ic/dp8390.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index d181cce7451..b2db45c8b4b 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.16 2001/07/08 23:38:05 fgsch Exp $ */ +/* $OpenBSD: dp8390.c,v 1.17 2001/07/09 17:22:12 fgsch Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -130,6 +130,7 @@ dp8390_config(sc) ifp->if_watchdog = dp8390_watchdog; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFQ_SET_READY(&ifp->if_snd); /* Print additional info when attached. */ printf("%s: address %s\n", sc->sc_dev.dv_xname, @@ -177,7 +178,6 @@ dp8390_mediastatus(ifp, ifmr) ifmr->ifm_status = 0; return; } - IFQ_SET_READY(&ifp->if_snd); if (sc->sc_mediastatus) (*sc->sc_mediastatus)(sc, ifmr); |