summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-11-25 17:41:01 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-11-25 17:41:01 +0000
commitbfe55351dd7cea9bf33dee18ff7457c47d290467 (patch)
treef269ded7bb433419c2ee746731c2274a0b16c585 /sys/dev
parent4d8e0cfb99d01e958ae7aa3e95d12f59114b9ad8 (diff)
Do a TX interrupt for each packet instead of every 126th one. This will
solve the watchdog timeouts seen when single packets are sent out. OK jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_et.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_et.c b/sys/dev/pci/if_et.c
index 18c927e2e7d..ac3f1cb2ed2 100644
--- a/sys/dev/pci/if_et.c
+++ b/sys/dev/pci/if_et.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_et.c,v 1.3 2007/11/25 12:24:00 jsg Exp $ */
+/* $OpenBSD: if_et.c,v 1.4 2007/11/25 17:41:00 claudio Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
*
@@ -150,7 +150,7 @@ void et_tick(void *);
static int et_rx_intr_npkts = 32;
static int et_rx_intr_delay = 20; /* x10 usec */
-static int et_tx_intr_nsegs = 126;
+static int et_tx_intr_nsegs = 1;
static uint32_t et_timer = 1000 * 1000 * 1000; /* nanosec */
struct et_bsize {