aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-02-14 06:33:52 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-02-14 06:33:52 +0000
commit05d1e23aa7784d8f2f4b7e5a2fbcb1d52bddee04 (patch)
tree15c6acae66f1380af036f5e4697f34c2531b44f7 /sys/dev
parent11c6a5f80da70171ae26cb574bb16d84ed86e2b1 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/agp/agp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index ddd29b96daa52..293011c262451 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -96,6 +96,12 @@ agp_flush_cache()
#ifdef __i386__
wbinvd();
#endif
+#ifdef __alpha__
+ /* FIXME: This is most likely not correct as it doesn't flush CPU
+ * write caches, but we don't have a facility to do that and
+ * this is all linux does, too */
+ alpha_mb();
+#endif
}
u_int8_t