summaryrefslogtreecommitdiff
path: root/sys/dev/ic/elink3.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-08 21:46:16 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-08 21:46:16 +0000
commite1f08c0bfd6b8147629cc19d20f1aac109798e02 (patch)
tree9a10af420a1bace62f83191831e7550b19555afc /sys/dev/ic/elink3.c
parent41eb27daca886ffd7aacd0ec9dd472be489fc5db (diff)
These all are backends for interfaces that can be attached late, whence
ifinit can not set their ifq_maxlen, so do it ourselves.
Diffstat (limited to 'sys/dev/ic/elink3.c')
-rw-r--r--sys/dev/ic/elink3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index 23c592b1852..c1c3fd2a613 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.33 1999/08/05 18:08:55 jason Exp $ */
+/* $OpenBSD: elink3.c,v 1.34 1999/08/08 21:46:15 niklas Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -290,6 +290,7 @@ epconfig(sc, chipset, enaddr)
ifp->if_watchdog = epwatchdog;
ifp->if_flags =
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
+ ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
if_attach(ifp);
ether_ifattach(ifp);