summaryrefslogtreecommitdiffstats
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-02 22:01:24 +0000
committerpeter <peter@FreeBSD.org>1999-05-02 22:01:24 +0000
commit3307a11373af5f8e7754c20818dd04bdd77681df (patch)
tree822b8603ed76ca0572718548023f221521ca0162 /sys/dev/ex
parentdc26f6e750069aced2db819bbcb02e59ef784fc4 (diff)
downloadFreeBSD-src-3307a11373af5f8e7754c20818dd04bdd77681df.zip
FreeBSD-src-3307a11373af5f8e7754c20818dd04bdd77681df.tar.gz
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>
Diffstat (limited to 'sys/dev/ex')
-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 0b689be..5411d30 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);
}
OpenPOWER on IntegriCloud