summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i82596.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/i82596.c')
-rw-r--r--sys/dev/ic/i82596.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/i82596.c b/sys/dev/ic/i82596.c
index 52f52982b5b..9bd7b984aa8 100644
--- a/sys/dev/ic/i82596.c
+++ b/sys/dev/ic/i82596.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82596.c,v 1.5 2001/03/23 00:16:49 mickey Exp $ */
+/* $OpenBSD: i82596.c,v 1.6 2001/06/27 06:34:42 kjc Exp $ */
/* $NetBSD: i82586.c,v 1.18 1998/08/15 04:42:42 mycroft Exp $ */
/*-
@@ -329,6 +329,7 @@ i82596_attach(sc, name, etheraddr, media, nmedia, defmedia)
IFF_DEBUG |
#endif
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
+ IFQ_SET_READY(&ifp->if_snd);
/* Initialize media goo. */
ifmedia_init(&sc->sc_media, 0, i82596_mediachange, i82596_mediastatus);
@@ -1260,7 +1261,7 @@ i82596_start(ifp)
break;
}
- IF_DEQUEUE(&ifp->if_snd, m0);
+ IFQ_DEQUEUE(&ifp->if_snd, m0);
if (m0 == 0)
break;