summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-13 19:10:03 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-13 19:10:03 +0000
commitcfcd2f77c40dddf752e1b5c8f1c7b3878948e39b (patch)
treecbbbb62fbcc4ccc9cf86950338522da29ce4d356
parent0f7f89496d1ee40b2fe22721162aae80ebfc9f50 (diff)
add IFQ_SET_MAXLEN
-rw-r--r--sys/dev/pci/if_lmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_lmc.c b/sys/dev/pci/if_lmc.c
index a3a570bbc8b..65404b1cfd4 100644
--- a/sys/dev/pci/if_lmc.c
+++ b/sys/dev/pci/if_lmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc.c,v 1.22 2006/03/25 22:41:45 djm Exp $ */
+/* $OpenBSD: if_lmc.c,v 1.23 2006/05/13 19:10:02 brad Exp $ */
/* $NetBSD: if_lmc.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -1342,6 +1342,7 @@ lmc_attach(lmc_softc_t * const sc)
ifp->if_watchdog = lmc_watchdog;
ifp->if_timer = 1;
ifp->if_mtu = LMC_MTU;
+ IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);
if_attach(ifp);