summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dp8390.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/dp8390.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/dp8390.c')
-rw-r--r--sys/dev/ic/dp8390.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c
index c57c1884c33..13f378de4ef 100644
--- a/sys/dev/ic/dp8390.c
+++ b/sys/dev/ic/dp8390.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dp8390.c,v 1.3 1999/03/02 06:12:33 fgsch Exp $ */
+/* $OpenBSD: dp8390.c,v 1.4 1999/08/08 21:46:15 niklas Exp $ */
/* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */
/*
@@ -136,6 +136,7 @@ dp8390_config(sc, media, nmedia, defmedia)
ifp->if_watchdog = dp8390_watchdog;
ifp->if_flags =
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
+ ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
/* Initialize media goo. */
ifmedia_init(&sc->sc_media, 0, dp8390_mediachange, dp8390_mediastatus);