diff options
author | paul <paul@FreeBSD.org> | 1999-04-18 01:37:19 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1999-04-18 01:37:19 +0000 |
commit | 92f601986d14abc074a1c7565cb081d87205729f (patch) | |
tree | 3df2e23aa69959bb0d440e45f5a04ca3fcd80d7a /sys | |
parent | 10199fefce34435cc8b3edcf6b91468a25aef9eb (diff) | |
download | FreeBSD-src-92f601986d14abc074a1c7565cb081d87205729f.zip FreeBSD-src-92f601986d14abc074a1c7565cb081d87205729f.tar.gz |
Set ifq_maxlen to number of transmit descriptors.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/if_lnc.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index 84669b9..f06b13f 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.54 1999/03/17 16:44:52 luigi Exp $ + * $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $ */ /* @@ -1276,6 +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); /* * 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 84669b9..f06b13f 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.54 1999/03/17 16:44:52 luigi Exp $ + * $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $ */ /* @@ -1276,6 +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); /* * XXX -- should check return status of if_attach |