summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@openbsd.org>2001-04-12 17:52:00 +0000
committernate <nate@openbsd.org>2001-04-12 17:52:00 +0000
commite3d769b74a296e8fb178a748c35da2cc14eacd6b (patch)
tree1dd852a18f21b9d5f708ecbc8fee2038b1dc7540
parentAllow kernels with just MFS and no FFS. Fixes PR#323. (diff)
downloadwireguard-openbsd-e3d769b74a296e8fb178a748c35da2cc14eacd6b.tar.xz
wireguard-openbsd-e3d769b74a296e8fb178a748c35da2cc14eacd6b.zip
Replace delay(1) with an alpha_mb() since it just makes more sense. ok art@
-rw-r--r--sys/dev/ic/bt485.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/bt485.c b/sys/dev/ic/bt485.c
index 8aa18e45104..d5d4964c214 100644
--- a/sys/dev/ic/bt485.c
+++ b/sys/dev/ic/bt485.c
@@ -293,7 +293,9 @@ bt485_set_cmap(rc, cmapp)
data->changed |= DATA_CMAP_CHANGED;
data->ramdac_sched_update(data->cookie, bt485_update);
- delay(1);
+#ifdef __alpha__
+ alpha_mb();
+#endif
splx(s);
return (0);