From fe9ba901e1c6eddcdc81f086b39a0601fba19162 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 30 Jul 2009 21:39:16 +0000 Subject: Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), only provide and use BUS_SPACE_BARRIER_xxx. --- sys/arch/alpha/include/bus.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/arch/alpha/include/bus.h') diff --git a/sys/arch/alpha/include/bus.h b/sys/arch/alpha/include/bus.h index 5b9f4431b90..e20db6fb2ba 100644 --- a/sys/arch/alpha/include/bus.h +++ b/sys/arch/alpha/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.26 2009/04/20 00:42:05 oga Exp $ */ +/* $OpenBSD: bus.h,v 1.27 2009/07/30 21:39:15 miod Exp $ */ /* $NetBSD: bus.h,v 1.10 1996/12/02 22:19:32 cgd Exp $ */ /* @@ -238,10 +238,8 @@ struct alpha_bus_space { #define bus_space_barrier(t, h, o, l, f) \ (*(t)->abs_barrier)((t)->abs_cookie, (h), (o), (l), (f)) -#define BUS_BARRIER_READ 0x01 -#define BUS_BARRIER_WRITE 0x02 -#define BUS_SPACE_BARRIER_READ BUS_BARRIER_READ -#define BUS_SPACE_BARRIER_WRITE BUS_BARRIER_WRITE +#define BUS_SPACE_BARRIER_READ 0x01 +#define BUS_SPACE_BARRIER_WRITE 0x02 /* -- cgit v1.2.3