From 60d1f85c13d6867b79ca4c9babe26f1104a4df42 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 8 Jul 2003 20:29:37 +0000 Subject: BUS_SPACE_BARRIER_{READ,WRITE} are needed for some drivers -- fake --- sys/arch/sparc/include/bus.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc') 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); -- cgit v1.2.3