summaryrefslogtreecommitdiff
path: root/sys
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
parent5d095e634b8e82b3250cec90177aab0d0e17cf13 (diff)
Add the BUS_DMA_STREAMING flag.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/bus.h5
-rw-r--r--sys/arch/arc/include/bus.h5
-rw-r--r--sys/arch/arm/include/arm32/bus.h5
-rw-r--r--sys/arch/atari/include/bus.h5
-rw-r--r--sys/arch/bebox/include/bus.h5
-rw-r--r--sys/arch/cobalt/include/bus.h5
-rw-r--r--sys/arch/dreamcast/include/bus.h3
-rw-r--r--sys/arch/hpcmips/include/bus.h5
-rw-r--r--sys/arch/i386/include/bus.h5
-rw-r--r--sys/arch/macppc/include/bus.h5
-rw-r--r--sys/arch/mipsco/include/bus.h6
-rw-r--r--sys/arch/mvme68k/include/bus_dma.h5
-rw-r--r--sys/arch/newsmips/include/bus.h5
-rw-r--r--sys/arch/next68k/include/bus_dma.h5
-rw-r--r--sys/arch/pmax/include/bus.h5
-rw-r--r--sys/arch/prep/include/bus.h5
-rw-r--r--sys/arch/sandpoint/include/bus.h5
-rw-r--r--sys/arch/sgimips/include/bus.h5
-rw-r--r--sys/arch/sparc/include/bus.h5
-rw-r--r--sys/arch/sparc64/include/bus.h23
-rw-r--r--sys/arch/vax/include/bus.h5
-rw-r--r--sys/arch/x68k/include/bus.h5
22 files changed, 75 insertions, 52 deletions
diff --git a/sys/arch/alpha/include/bus.h b/sys/arch/alpha/include/bus.h
index d42540b5a69..dd248f53a58 100644
--- a/sys/arch/alpha/include/bus.h
+++ b/sys/arch/alpha/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.41 2000/07/31 22:47:08 briggs Exp $ */
+/* $NetBSD: bus.h,v 1.42 2001/03/07 22:42:16 thorpej Exp $ */
/*-
- * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
+ * Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -495,6 +495,7 @@ do { \
#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
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
diff --git a/sys/arch/arm/include/arm32/bus.h b/sys/arch/arm/include/arm32/bus.h
index f9047155b5d..4b0d0acf246 100644
--- a/sys/arch/arm/include/arm32/bus.h
+++ b/sys/arch/arm/include/arm32/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.2 2001/03/04 03:40:58 matt Exp $ */
+/* $NetBSD: bus.h,v 1.3 2001/03/07 22:42:21 thorpej 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
@@ -613,6 +613,7 @@ bs_c_8_proto(f);
#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
diff --git a/sys/arch/atari/include/bus.h b/sys/arch/atari/include/bus.h
index ccec40c6f68..c02fedca4e4 100644
--- a/sys/arch/atari/include/bus.h
+++ b/sys/arch/atari/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.23 2000/06/26 04:55:34 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.24 2001/03/07 22:42:17 thorpej Exp $ */
/*-
- * Copyright (c) 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -531,6 +531,7 @@ struct atari_bus_space {
#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
diff --git a/sys/arch/bebox/include/bus.h b/sys/arch/bebox/include/bus.h
index 9a7aa0c1fbf..ab3a173e277 100644
--- a/sys/arch/bebox/include/bus.h
+++ b/sys/arch/bebox/include/bus.h
@@ -1,8 +1,8 @@
-/* $NetBSD: bus.h,v 1.22 2001/02/06 05:00:50 briggs Exp $ */
+/* $NetBSD: bus.h,v 1.23 2001/03/07 22:42:17 thorpej Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo 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
@@ -922,6 +922,7 @@ bus_space_copy_region_4(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/cobalt/include/bus.h b/sys/arch/cobalt/include/bus.h
index 72dc842b914..ef346b40f9b 100644
--- a/sys/arch/cobalt/include/bus.h
+++ b/sys/arch/cobalt/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.4 2000/06/26 04:55:38 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.5 2001/03/07 22:42:17 thorpej 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
@@ -479,6 +479,7 @@ __COBALT_copy_region(4)
#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
diff --git a/sys/arch/dreamcast/include/bus.h b/sys/arch/dreamcast/include/bus.h
index 159505add99..1f90a90c960 100644
--- a/sys/arch/dreamcast/include/bus.h
+++ b/sys/arch/dreamcast/include/bus.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.3 2001/02/02 06:27:44 marcus Exp $ */
+/* $NetBSD: bus.h,v 1.4 2001/03/07 22:42:18 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -457,6 +457,7 @@ do { \
#define BUS_DMA_NOWAIT 0x01 /* not safe to sleep */
#define BUS_DMA_ALLOCNOW 0x02 /* perform resource allocation now */
#define BUS_DMA_COHERENT 0x04 /* map memory to not require sync */
+#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
diff --git a/sys/arch/hpcmips/include/bus.h b/sys/arch/hpcmips/include/bus.h
index d7606519621..4b6a4c4255c 100644
--- a/sys/arch/hpcmips/include/bus.h
+++ b/sys/arch/hpcmips/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.8 2000/08/09 02:12:50 shin Exp $ */
+/* $NetBSD: bus.h,v 1.9 2001/03/07 22:42:18 thorpej 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
@@ -551,6 +551,7 @@ __HPCMIPS_copy_region(4)
#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
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h
index e6f6ad6216d..e727e4aaa5d 100644
--- a/sys/arch/i386/include/bus.h
+++ b/sys/arch/i386/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.30 2000/07/31 22:43:46 briggs Exp $ */
+/* $NetBSD: bus.h,v 1.31 2001/03/07 22:42:18 thorpej 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
@@ -1035,6 +1035,7 @@ i386_memio_copy_region_4(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h
index 9416fb43b94..a0cc7b413a4 100644
--- a/sys/arch/macppc/include/bus.h
+++ b/sys/arch/macppc/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.11 2000/12/21 23:17:32 tsubai Exp $ */
+/* $NetBSD: bus.h,v 1.12 2001/03/07 22:42:18 thorpej 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
@@ -713,6 +713,7 @@ bus_space_set_region_stream_4(tag, bsh, offset, val, count)
#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
diff --git a/sys/arch/mipsco/include/bus.h b/sys/arch/mipsco/include/bus.h
index af513c1b678..c6fc3651c9e 100644
--- a/sys/arch/mipsco/include/bus.h
+++ b/sys/arch/mipsco/include/bus.h
@@ -1,6 +1,7 @@
-/* $NetBSD: bus.h,v 1.3 2000/09/04 22:18:58 wdk Exp $ */
+/* $NetBSD: bus.h,v 1.4 2001/03/07 22:42:19 thorpej 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
@@ -697,6 +698,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
diff --git a/sys/arch/mvme68k/include/bus_dma.h b/sys/arch/mvme68k/include/bus_dma.h
index 5cb34c0bc57..b84db951e1a 100644
--- a/sys/arch/mvme68k/include/bus_dma.h
+++ b/sys/arch/mvme68k/include/bus_dma.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.h,v 1.6 2000/11/24 09:36:41 scw Exp $ */
+/* $NetBSD: bus_dma.h,v 1.7 2001/03/07 22:42:19 thorpej Exp $ */
/*
* This file was extracted from from next68k/include/bus.h
@@ -7,7 +7,7 @@
*/
/*-
- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -84,6 +84,7 @@
#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
diff --git a/sys/arch/newsmips/include/bus.h b/sys/arch/newsmips/include/bus.h
index c3d31181ef8..d6c9d57dfd2 100644
--- a/sys/arch/newsmips/include/bus.h
+++ b/sys/arch/newsmips/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.2 2000/10/18 12:47:38 onoe Exp $ */
+/* $NetBSD: bus.h,v 1.3 2001/03/07 22:42:19 thorpej 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
@@ -479,6 +479,7 @@ __NEWSMIPS_copy_region(4)
#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
diff --git a/sys/arch/next68k/include/bus_dma.h b/sys/arch/next68k/include/bus_dma.h
index 263fe24f5b2..d2f65921935 100644
--- a/sys/arch/next68k/include/bus_dma.h
+++ b/sys/arch/next68k/include/bus_dma.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.h,v 1.4 2000/06/26 04:55:53 simonb Exp $ */
+/* $NetBSD: bus_dma.h,v 1.5 2001/03/07 22:42:19 thorpej Exp $ */
/*
* This file was extracted from from alpha/include/bus.h
@@ -9,7 +9,7 @@
/*-
- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -86,6 +86,7 @@
#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
diff --git a/sys/arch/pmax/include/bus.h b/sys/arch/pmax/include/bus.h
index d389d746c75..33247b1b783 100644
--- a/sys/arch/pmax/include/bus.h
+++ b/sys/arch/pmax/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.13 2000/06/26 04:55:56 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.14 2001/03/07 22:42:19 thorpej 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
@@ -492,6 +492,7 @@ __PMAX_copy_region(4)
#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
diff --git a/sys/arch/prep/include/bus.h b/sys/arch/prep/include/bus.h
index 5985cf2c151..75a54f83fa3 100644
--- a/sys/arch/prep/include/bus.h
+++ b/sys/arch/prep/include/bus.h
@@ -1,8 +1,8 @@
-/* $NetBSD: bus.h,v 1.4 2000/11/27 08:53:54 matt Exp $ */
+/* $NetBSD: bus.h,v 1.5 2001/03/07 22:42:20 thorpej Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo 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
@@ -988,6 +988,7 @@ bus_space_copy_region_4(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/sandpoint/include/bus.h b/sys/arch/sandpoint/include/bus.h
index f541458331e..bc26fb27645 100644
--- a/sys/arch/sandpoint/include/bus.h
+++ b/sys/arch/sandpoint/include/bus.h
@@ -1,8 +1,8 @@
-/* $NetBSD: bus.h,v 1.1 2001/02/04 18:32:12 briggs Exp $ */
+/* $NetBSD: bus.h,v 1.2 2001/03/07 22:42:20 thorpej Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo 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
@@ -957,6 +957,7 @@ bus_space_copy_region_4(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/sgimips/include/bus.h b/sys/arch/sgimips/include/bus.h
index 565830fedc4..922dcdcb5e9 100644
--- a/sys/arch/sgimips/include/bus.h
+++ b/sys/arch/sgimips/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.2 2000/06/26 04:56:00 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.3 2001/03/07 22:42:20 thorpej 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
@@ -476,6 +476,7 @@ __SGIMIPS_copy_region(4)
#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
diff --git a/sys/arch/sparc/include/bus.h b/sys/arch/sparc/include/bus.h
index 61ec25af65a..c8a0c2c9baa 100644
--- a/sys/arch/sparc/include/bus.h
+++ b/sys/arch/sparc/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.23 2000/07/09 20:57:48 pk Exp $ */
+/* $NetBSD: bus.h,v 1.24 2001/03/07 22:42:20 thorpej 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
@@ -903,6 +903,7 @@ bus_space_copy_region_8(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h
index 254087093de..cd26b1be2da 100644
--- a/sys/arch/sparc64/include/bus.h
+++ b/sys/arch/sparc64/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.26 2001/02/11 00:05:47 eeh Exp $ */
+/* $NetBSD: bus.h,v 1.27 2001/03/07 22:42:21 thorpej 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
@@ -1373,15 +1373,16 @@ bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c)
/*
* Flags used in various bus DMA methods.
*/
-#define BUS_DMA_WAITOK 0x00 /* safe to sleep (pseudo-flag) */
-#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_NOWRITE 0x08 /* I suppose the following two should default on */
-#define BUS_DMA_BUS1 0x10
-#define BUS_DMA_BUS2 0x20
-#define BUS_DMA_BUS3 0x40
-#define BUS_DMA_BUS4 0x80
+#define BUS_DMA_WAITOK 0x000 /* safe to sleep (pseudo-flag) */
+#define BUS_DMA_NOWAIT 0x001 /* not safe to sleep */
+#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_BUS2 0x020
+#define BUS_DMA_BUS3 0x040
+#define BUS_DMA_BUS4 0x080
+#define BUS_DMA_STREAMING 0x100 /* hint: sequential, unidirectional */
#define BUS_DMA_NOCACHE BUS_DMA_BUS1
diff --git a/sys/arch/vax/include/bus.h b/sys/arch/vax/include/bus.h
index 18d132eca3b..76aeb0de439 100644
--- a/sys/arch/vax/include/bus.h
+++ b/sys/arch/vax/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.14 2000/06/26 04:56:13 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.15 2001/03/07 22:42:21 thorpej 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
@@ -862,6 +862,7 @@ vax_mem_copy_region_4(t, h1, o1, h2, o2, c)
#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
diff --git a/sys/arch/x68k/include/bus.h b/sys/arch/x68k/include/bus.h
index dd41e306b12..04eb5c21f60 100644
--- a/sys/arch/x68k/include/bus.h
+++ b/sys/arch/x68k/include/bus.h
@@ -1,7 +1,7 @@
-/* $NetBSD: bus.h,v 1.6 2001/01/29 01:09:29 itohy Exp $ */
+/* $NetBSD: bus.h,v 1.7 2001/03/07 22:42:21 thorpej Exp $ */
/*-
- * Copyright (c) 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -902,6 +902,7 @@ int x68k_bus_dmamem_alloc_range __P((bus_dma_tag_t tag, bus_size_t size,
#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