summaryrefslogtreecommitdiff
path: root/sys/arch/arc/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-03-07 22:42:16 +0000
committerthorpej <thorpej@NetBSD.org>2001-03-07 22:42:16 +0000
commit2c4c690f14c85dd67e7035219613788fb2137e07 (patch)
tree77f20c206c2be8a5ea30a426496186bebbc0da54 /sys/arch/arc/include
parent5d095e634b8e82b3250cec90177aab0d0e17cf13 (diff)
Add the BUS_DMA_STREAMING flag.
Diffstat (limited to 'sys/arch/arc/include')
-rw-r--r--sys/arch/arc/include/bus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arc/include/bus.h b/sys/arch/arc/include/bus.h
index 1d1e87f6d79..d3163d8ac5e 100644
--- a/sys/arch/arc/include/bus.h
+++ b/sys/arch/arc/include/bus.h
@@ -1,9 +1,9 @@
-/* $NetBSD: bus.h,v 1.9 2000/06/26 04:55:26 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.10 2001/03/07 22:42:17 thorpej Exp $ */
/* NetBSD: bus.h,v 1.27 2000/03/15 16:44:50 drochner Exp */
/* $OpenBSD: bus.h,v 1.15 1999/08/11 23:15:21 niklas Exp $ */
/*-
- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -674,6 +674,7 @@ bus_space_copy_region(8,64)
#define BUS_DMA_NOWAIT 0x01 /* not safe to sleep */
#define BUS_DMA_ALLOCNOW 0x02 /* perform resource allocation now */
#define BUS_DMA_COHERENT 0x04 /* hint: map memory DMA coherent */
+#define BUS_DMA_STREAMING 0x08 /* hint: sequential, unidirectional */
#define BUS_DMA_BUS1 0x10 /* placeholders for bus functions... */
#define BUS_DMA_BUS2 0x20
#define BUS_DMA_BUS3 0x40