diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-07-08 23:38:09 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-07-08 23:38:09 +0000 |
commit | b0d62f130faaba54cee526972c751ffcc5ae1aa4 (patch) | |
tree | 5a50d84ce31afba96ee060d5af126daf66eddd57 /sys/dev/ic/an.c | |
parent | c7e17867401a13de39348e78559e0255562049bf (diff) |
Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLEN
(or ifqmaxlen); it's done in if_attach() now.
No future drivers needs to set up this anymore unless they want to
use something else.
Diffstat (limited to 'sys/dev/ic/an.c')
-rw-r--r-- | sys/dev/ic/an.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c index 7a10311b013..eaf938f0ee5 100644 --- a/sys/dev/ic/an.c +++ b/sys/dev/ic/an.c @@ -1,4 +1,4 @@ -/* $OpenBSD: an.c,v 1.18 2001/06/25 21:11:16 mickey Exp $ */ +/* $OpenBSD: an.c,v 1.19 2001/07/08 23:38:05 fgsch Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -237,7 +237,6 @@ an_attach(sc) ifp->if_start = an_start; ifp->if_watchdog = an_watchdog; ifp->if_baudrate = 10000000; - ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; bzero(sc->an_config.an_nodename, sizeof(sc->an_config.an_nodename)); bcopy(AN_DEFAULT_NODENAME, sc->an_config.an_nodename, |