From 067e3249abc495d43e7897d4c754be56ac1b5040 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 18 Apr 1999 01:49:16 +0000 Subject: [PATCH] Set ifq_maxlen to IFQ_MAXLEN --- sys/dev/lnc/if_lnc.c | 4 ++-- sys/i386/isa/if_lnc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index f06b13f8b94c..b02c0650c572 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $ + * $Id: if_lnc.c,v 1.56 1999/04/18 01:37:19 paul Exp $ */ /* @@ -1276,7 +1276,7 @@ lnc_attach_sc(struct lnc_softc *sc, int unit) sc->arpcom.ac_if.if_type = IFT_ETHER; sc->arpcom.ac_if.if_addrlen = ETHER_ADDR_LEN; sc->arpcom.ac_if.if_hdrlen = ETHER_HDR_LEN; - sc->arpcom.ac_if.if_snd.ifq_maxlen = NDESC(sc->ntdre); + sc->arpcom.ac_if.if_snd.ifq_maxlen = IFQ_MAXLEN; /* * XXX -- should check return status of if_attach diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index f06b13f8b94c..b02c0650c572 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $ + * $Id: if_lnc.c,v 1.56 1999/04/18 01:37:19 paul Exp $ */ /* @@ -1276,7 +1276,7 @@ lnc_attach_sc(struct lnc_softc *sc, int unit) sc->arpcom.ac_if.if_type = IFT_ETHER; sc->arpcom.ac_if.if_addrlen = ETHER_ADDR_LEN; sc->arpcom.ac_if.if_hdrlen = ETHER_HDR_LEN; - sc->arpcom.ac_if.if_snd.ifq_maxlen = NDESC(sc->ntdre); + sc->arpcom.ac_if.if_snd.ifq_maxlen = IFQ_MAXLEN; /* * XXX -- should check return status of if_attach