summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-27 15:17:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-27 15:17:20 +0000
commitc6da5747e39816c0b25624e90bd243ff68288b4b (patch)
tree5d6750056f9807fda4deebb12a10b6a9eee8dc44 /sys/arch/i386/include
parent00597977ec70ebf5168bf9f93723a69cb90d06c4 (diff)
from PAE work:
add a BUS_DMA_24BIT flag to signify that dmamap being created is for the isadma use (thus already backed up by the bounce buffers). later also to be used for dmamem allocation.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h
index 279615144c2..0b26d524f49 100644
--- a/sys/arch/i386/include/bus.h
+++ b/sys/arch/i386/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.37 2005/05/25 18:29:58 jason Exp $ */
+/* $OpenBSD: bus.h,v 1.38 2006/04/27 15:17:16 mickey Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -742,7 +742,7 @@ void bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh,
#define BUS_DMA_BUS1 0x010 /* placeholders for bus functions... */
#define BUS_DMA_BUS2 0x020
#define BUS_DMA_BUS3 0x040
-#define BUS_DMA_BUS4 0x080
+#define BUS_DMA_24BIT 0x080 /* isadma map */
#define BUS_DMA_STREAMING 0x100 /* hint: sequential, unidirectional */
#define BUS_DMA_READ 0x200 /* mapping is device -> memory only */
#define BUS_DMA_WRITE 0x400 /* mapping is memory -> device only */