aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-02 22:01:24 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-02 22:01:24 +0000
commit87f0e52becae502e0d4ebfba5aaf16b8eb018bcd (patch)
treeaeed91cac290ebd18d8cff2ee1eaa43d6c473da8 /sys/dev
parentb7b075a2a2cd9835de28470390f2251a7e333be4 (diff)
downloadsrc-87f0e52becae502e0d4ebfba5aaf16b8eb018bcd.tar.gz
src-87f0e52becae502e0d4ebfba5aaf16b8eb018bcd.zip
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 <sjr@home.net>
Notes
Notes: svn path=/head/; revision=46347
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ex/if_ex.c3
1 files changed, 2 insertions, 1 deletions
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);
}