summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-11-16 19:34:59 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-11-16 19:34:59 +0000
commitb7edf4dc088485e9a32c7df7d82587189b2280a9 (patch)
tree16182a52d31984fb661562c820d3f136b0f62533 /sys
parent1bb22b1ad37286f44916c71869f7da925e185104 (diff)
Lower interrupt moderation timer to decrease service latency.
From NetBSD ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_sk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index db0254fa315..b35fbdc738a 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.50 2004/11/16 17:45:54 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.51 2004/11/16 19:34:58 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1118,7 +1118,7 @@ void sk_reset(struct sk_softc *sc)
* register represents 18.825ns, so to specify a timeout in
* microseconds, we have to multiply by 54.
*/
- sk_win_write_4(sc, SK_IMTIMERINIT, SK_IM_USECS(200));
+ sk_win_write_4(sc, SK_IMTIMERINIT, SK_IM_USECS(100));
sk_win_write_4(sc, SK_IMMR, SK_ISR_TX1_S_EOF|SK_ISR_TX2_S_EOF|
SK_ISR_RX1_EOF|SK_ISR_RX2_EOF);
sk_win_write_1(sc, SK_IMTIMERCTL, SK_IMCTL_START);