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/socppc/include/bus.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/arch/socppc') diff --git a/sys/arch/socppc/include/bus.h b/sys/arch/socppc/include/bus.h index b0f3d61e449..2a21c6d5eed 100644 --- a/sys/arch/socppc/include/bus.h +++ b/sys/arch/socppc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.4 2009/07/26 18:48:55 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.5 2009/07/30 21:39:15 miod Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom. All rights reserved. @@ -450,10 +450,6 @@ bus_space_copy_4(void *v, bus_space_handle_t h1, bus_space_handle_t h2, ((void)((void)(t), (void)(h), (void)(o), (void)(l), (void)(f))) #define BUS_SPACE_BARRIER_READ 0x01 /* force read barrier */ #define BUS_SPACE_BARRIER_WRITE 0x02 /* force write barrier */ -/* Compatibility defines */ -#define BUS_BARRIER_READ BUS_SPACE_BARRIER_READ -#define BUS_BARRIER_WRITE BUS_SPACE_BARRIER_WRITE - #define BUS_DMA_WAITOK 0x000 /* safe to sleep (pseudo-flag) */ #define BUS_DMA_NOWAIT 0x001 /* not safe to sleep */ -- cgit v1.2.3