summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-04-12 17:52:01 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-04-12 17:52:01 +0000
commit94d38c27cab8d688aa081402b3813f4033315fbc (patch)
tree3c7736a1372ecd18a8416d6b3da8332d2b239e7d /sys
parent3391dc2dee9e5aeda119a7f3488b3920d36c8cee (diff)
Replace delay(1) with an alpha_mb() since it just makes more sense. ok art@
Diffstat (limited to 'sys')
-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);