summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/bus.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-01 14:34:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-01 14:34:03 +0000
commit89cf7f4aaa4684732ec9fd56edd086028ed5ed4d (patch)
treef46a6aff39a4b034ab905461bf16b47ce9915ca5 /sys/arch/alpha/include/bus.h
parentebde4e08eed01caa90a02b01527e2ab0bb2df64d (diff)
Remove unused _pfthresh member from struct alpha_bus_dma_tag.
Diffstat (limited to 'sys/arch/alpha/include/bus.h')
-rw-r--r--sys/arch/alpha/include/bus.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/alpha/include/bus.h b/sys/arch/alpha/include/bus.h
index adb8c1421fc..64d22ea286d 100644
--- a/sys/arch/alpha/include/bus.h
+++ b/sys/arch/alpha/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.24 2006/05/12 20:48:19 brad Exp $ */
+/* $OpenBSD: bus.h,v 1.25 2009/02/01 14:33:58 miod Exp $ */
/* $NetBSD: bus.h,v 1.10 1996/12/02 22:19:32 cgd Exp $ */
/*
@@ -218,6 +218,9 @@ struct alpha_bus_space {
#define bus_space_subregion(t, h, o, s, hp) \
(*(t)->abs_subregion)((t)->abs_cookie, (h), (o), (s), (hp))
+#define BUS_SPACE_MAP_CACHEABLE 0x01
+#define BUS_SPACE_MAP_LINEAR 0x02
+#define BUS_SPACE_MAP_PREFETCHABLE 0x04
/*
* Allocation and deallocation operations.
@@ -531,16 +534,6 @@ struct alpha_bus_dma_tag {
struct alpha_sgmap *_sgmap;
/*
- * The SGMAP MMU implements a prefetch FIFO to keep data
- * moving down the pipe, when doing host->bus DMA writes.
- * The threshold (distance until the next page) used to
- * trigger the prefetch is differnet on different chipsets,
- * and we need to know what it is in order to know whether
- * or not to allocate a spill page.
- */
- bus_size_t _pfthresh;
-
- /*
* Internal-use only utility methods. NOT TO BE USED BY
* MACHINE-INDEPENDENT CODE!
*/