summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-07-08 20:29:37 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-07-08 20:29:37 +0000
commit60d1f85c13d6867b79ca4c9babe26f1104a4df42 (patch)
treeb01ea52979b2a57f3a7d6aa8c3356d633e217858
parent69b5b2011e2f51ec93eb52033ed1901f0f6391e7 (diff)
BUS_SPACE_BARRIER_{READ,WRITE} are needed for some drivers -- fake
-rw-r--r--sys/arch/sparc/include/bus.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/bus.h b/sys/arch/sparc/include/bus.h
index b37786899ed..f500fa5f473 100644
--- a/sys/arch/sparc/include/bus.h
+++ b/sys/arch/sparc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.4 2003/06/25 17:39:00 miod Exp $ */
+/* $OpenBSD: bus.h,v 1.5 2003/07/08 20:29:36 mickey Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
*
@@ -72,6 +72,10 @@ static int bus_space_map(bus_space_tag_t, bus_addr_t, bus_size_t, int,
bus_space_handle_t *);
static int bus_space_unmap(bus_space_tag_t, bus_space_handle_t,
bus_size_t);
+
+#define BUS_SPACE_BARRIER_READ 0
+#define BUS_SPACE_BARRIER_WRITE 1
+
static void bus_space_barrier(bus_space_tag_t, bus_space_handle_t,
bus_addr_t, bus_size_t, int);