summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/include/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/bus.h b/sys/arch/amd64/include/bus.h
index 6b91fb62fc5..8a8e79b6447 100644
--- a/sys/arch/amd64/include/bus.h
+++ b/sys/arch/amd64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.4 2005/11/05 18:29:24 marco Exp $ */
+/* $OpenBSD: bus.h,v 1.5 2006/04/27 15:17:12 mickey Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -963,7 +963,7 @@ bus_space_barrier(bus_space_tag_t tag, 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 */