From 87f0e52becae502e0d4ebfba5aaf16b8eb018bcd Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 2 May 1999 22:01:24 +0000 Subject: Set ifq_maxlen to default value. (This should be safe, it's not clear if there's benefit to setting it to the exact amount, it appears the card has 32K of ram, and 8K is used for outgoing packets, that would be something like a queue limit of 5 packets. I don't think that's useful...) PR: 11456 Submitted by: Stephen J. Roznowski --- sys/dev/ex/if_ex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 0b689beb5910..5411d308baeb 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ex.c,v 1.13 1998/10/22 05:58:39 bde Exp $ + * $Id: if_ex.c,v 1.14 1999/01/28 01:59:53 dillon Exp $ */ /* @@ -298,6 +298,7 @@ int ex_attach(struct isa_device *dev) bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); #endif DODEBUG(Start_End, printf("ex_attach%d: finish\n", unit);); + sc->arpcom.ac_if.if_snd.ifq_maxlen = ifqmaxlen; return(1); } -- cgit v1.2.3