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/macppc | |
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/macppc')
-rw-r--r-- | sys/arch/macppc/include/bus.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h index d6ff8a5a332..814e00a7ceb 100644 --- a/sys/arch/macppc/include/bus.h +++ b/sys/arch/macppc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.16 2009/07/26 18:48:55 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.17 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 */ |