diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-11-15 19:20:26 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-11-15 19:20:26 +0000 |
commit | 19230c27a5aa24cab244708ffa34b94d558cd22f (patch) | |
tree | 048119869c0a8e985c83c35e8e21ecfb7146a224 /sys/dev/ic/gem.c | |
parent | 607454fea2377dafc69b88091e3acfab45c6205b (diff) |
add IFQ_SET_MAXLEN().
Diffstat (limited to 'sys/dev/ic/gem.c')
-rw-r--r-- | sys/dev/ic/gem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index 5a5bcd4eb4a..2ad017d3a32 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.51 2005/11/07 03:20:00 brad Exp $ */ +/* $OpenBSD: gem.c,v 1.52 2005/11/15 19:20:25 brad Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -227,6 +227,7 @@ gem_config(sc) ifp->if_start = gem_start; ifp->if_ioctl = gem_ioctl; ifp->if_watchdog = gem_watchdog; + IFQ_SET_MAXLEN(&ifp->if_snd, GEM_NTXDESC - 1); IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities = IFCAP_VLAN_MTU; |