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/socppc | |
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/socppc')
-rw-r--r-- | sys/arch/socppc/include/bus.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 */ |