diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-30 21:39:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-30 21:39:16 +0000 |
commit | fe9ba901e1c6eddcdc81f086b39a0601fba19162 (patch) | |
tree | 2a68f88e407e57212c01b91db0a8b642f1bf69ff /sys/arch/i386 | |
parent | 5a581115d78443c677ad9a44c9df9fe385c650fb (diff) |
Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), only
provide and use BUS_SPACE_BARRIER_xxx.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/include/bus.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h index 76fc3300db2..8ce28373ec1 100644 --- a/sys/arch/i386/include/bus.h +++ b/sys/arch/i386/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.50 2009/07/26 18:48:55 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.51 2009/07/30 21:39:15 miod Exp $ */ /* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */ /*- @@ -424,9 +424,7 @@ void bus_space_copy_4(bus_space_tag_t, bus_space_handle_t, bus_size_t, ((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_SPACE_MAP_CACHEABLE 0x0001 #define BUS_SPACE_MAP_LINEAR 0x0002 #define BUS_SPACE_MAP_PREFETCHABLE 0x0008 |