From 4078b7f9881c3fd909b825e61d23f640ba90dca5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 30 Jul 2009 21:39:55 +0000 Subject: Make sure the BUS_SPACE_BARRIER_xxx constants are all non-zero and can be or'ed together, even on platforms where bus_space_barrier() ignores the barrier argument yet. --- sys/arch/mvme68k/include/bus.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/mvme68k') diff --git a/sys/arch/mvme68k/include/bus.h b/sys/arch/mvme68k/include/bus.h index ffe84c7fa8e..9d898749c4b 100644 --- a/sys/arch/mvme68k/include/bus.h +++ b/sys/arch/mvme68k/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.5 2009/07/26 18:48:55 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.6 2009/07/30 21:39:54 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -54,8 +54,8 @@ struct mvme68k_bus_space_tag { typedef const struct mvme68k_bus_space_tag *bus_space_tag_t; -#define BUS_SPACE_BARRIER_READ 0 -#define BUS_SPACE_BARRIER_WRITE 1 +#define BUS_SPACE_BARRIER_READ 0x01 +#define BUS_SPACE_BARRIER_WRITE 0x02 #define BUS_SPACE_MAP_CACHEABLE 0x01 #define BUS_SPACE_MAP_LINEAR 0x02 -- cgit v1.2.3