summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/sccvar.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-24 19:58:34 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-24 19:58:34 +0000
commit0ef244d8476654749f2eaf9441dc06b2fd4d4f7b (patch)
tree270851bce850e6dddd96484e78fa648cb8bec296 /sys/arch/alpha/tc/sccvar.h
parenta77b8c21d70779c5365903c1f86d3c3126549212 (diff)
Sync with NetBSD 961207
Diffstat (limited to 'sys/arch/alpha/tc/sccvar.h')
-rw-r--r--sys/arch/alpha/tc/sccvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/tc/sccvar.h b/sys/arch/alpha/tc/sccvar.h
index c0c8285fb35..b1fae134466 100644
--- a/sys/arch/alpha/tc/sccvar.h
+++ b/sys/arch/alpha/tc/sccvar.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: sccvar.h,v 1.3 1996/10/30 22:41:13 niklas Exp $ */
-/* $NetBSD: sccvar.h,v 1.3 1996/07/09 00:55:21 cgd Exp $ */
+/* $OpenBSD: sccvar.h,v 1.4 1997/01/24 19:58:16 niklas Exp $ */
+/* $NetBSD: sccvar.h,v 1.4 1996/11/16 00:40:14 cgd Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995 Carnegie Mellon University
@@ -96,9 +96,9 @@ typedef struct {
} scc_regmap_t;
#define scc_get_datum(d, v) \
- do { (v) = ((d) >> 8) & 0xff; } while (0)
+ do { (v) = ((d) >> 8) & 0xff; alpha_mb(); DELAY(5); } while (0)
#define scc_set_datum(d, v) \
- do { (d) = (volatile unsigned int)(v) << 8; alpha_mb(); } while (0)
+ do { (d) = (volatile unsigned int)(v) << 8; alpha_mb(); DELAY(5); } while (0)
/*
* Minor device numbers for scc. Weird because B channel comes first and