diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-03-07 18:08:09 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-03-07 18:08:09 +0000 |
commit | 2afe5d52c97872711a9e4d37486cda176ec8cd45 (patch) | |
tree | 37b952aa0b88672624bf358ec5bed4014c4cf289 /sys/arch/sparc64 | |
parent | d4daec323e15eacdfee711f69ae5c11d6fa99b79 (diff) |
Clean up BUS_DMA_* flags, and make sure all arch's define:
BUS_DMA_READ, BUS_DMA_WRITE, and BUS_DMA_STREAMING
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/bus.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h index f33550d500f..52ff2080760 100644 --- a/sys/arch/sparc64/include/bus.h +++ b/sys/arch/sparc64/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.9 2002/02/19 05:03:42 jason Exp $ */ +/* $OpenBSD: bus.h,v 1.10 2002/03/07 18:08:08 jason Exp $ */ /* $NetBSD: bus.h,v 1.31 2001/09/21 15:30:41 wiz Exp $ */ /*- @@ -1420,7 +1420,7 @@ bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) #define BUS_DMA_ALLOCNOW 0x002 /* perform resource allocation now */ #define BUS_DMA_COHERENT 0x004 /* hint: map memory DMA coherent */ #define BUS_DMA_NOWRITE 0x008 /* I suppose the following two should default on */ -#define BUS_DMA_BUS1 0x010 +#define BUS_DMA_BUS1 0x010 /* placeholders for bus functions... */ #define BUS_DMA_BUS2 0x020 #define BUS_DMA_BUS3 0x040 #define BUS_DMA_BUS4 0x080 @@ -1428,7 +1428,6 @@ bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) #define BUS_DMA_READ 0x200 /* mapping is device -> memory only */ #define BUS_DMA_WRITE 0x400 /* mapping is memory -> device only */ - #define BUS_DMA_NOCACHE BUS_DMA_BUS1 #define BUS_DMA_DVMA BUS_DMA_BUS2 /* Don't bother with alignment */ |