summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-03-18 19:49:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-03-18 19:49:15 +0000
commit68c28345aa95c23292a5305b534c9c4a51449257 (patch)
tree42fa1e9af873bf62ed040c88b5d3a37770385663 /sys/arch/sparc
parent9d7b8cf283108a545523f6138baf4d14e0a363cc (diff)
Revert 1.52, per the comment above the incorrectly changed line. Reduces the
number of spurious zs interrupts I am seeing on sun4c, albeit not completely.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/zs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/zs.c b/sys/arch/sparc/dev/zs.c
index 0e216ca7928..36258b8870e 100644
--- a/sys/arch/sparc/dev/zs.c
+++ b/sys/arch/sparc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.56 2015/02/28 17:54:54 miod Exp $ */
+/* $OpenBSD: zs.c,v 1.57 2015/03/18 19:49:14 miod Exp $ */
/* $NetBSD: zs.c,v 1.50 1997/10/18 00:00:40 gwr Exp $ */
/*-
@@ -762,7 +762,7 @@ zs_putc(arg, c)
* interrupts we put in the 2us delay regardless of cpu model.
*/
zc->zc_data = c;
- ZS_DELAY();
+ delay(2);
splx(s);
}