diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-04-04 21:20:41 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-04-04 21:20:41 +0000 |
commit | 847f0d652dcf6c9019be074ee1f04b6ed4ff788a (patch) | |
tree | 477cef55159c6b92d441b89938f28d87e5b6c5e3 /sys/arch/alpha/tc/tc_dma.c | |
parent | 6e1fce54ffe410977ee0c4d562ab9a698eb55496 (diff) |
Add a `prefetch threshold' member to the bus_dma_tag_t, so that
eventually we can determine whether or not to allocate a spill
page on a per-mapping basis.
From NetBSD
ok martin@
Diffstat (limited to 'sys/arch/alpha/tc/tc_dma.c')
-rw-r--r-- | sys/arch/alpha/tc/tc_dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/tc/tc_dma.c b/sys/arch/alpha/tc/tc_dma.c index 5de443eaaa5..a22b10b765f 100644 --- a/sys/arch/alpha/tc/tc_dma.c +++ b/sys/arch/alpha/tc/tc_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc_dma.c,v 1.1 2002/05/02 22:56:06 miod Exp $ */ +/* $OpenBSD: tc_dma.c,v 1.2 2006/04/04 21:20:40 brad Exp $ */ /* $NetBSD: tc_dma.c,v 1.10 2001/07/19 06:40:02 thorpej Exp $ */ /*- @@ -54,6 +54,7 @@ struct alpha_bus_dma_tag tc_dmat_direct = { NULL, /* _next_window */ 0, /* _boundary */ NULL, /* _sgmap */ + 0, /* _pfthresh */ NULL, /* _get_tag */ _bus_dmamap_create, _bus_dmamap_destroy, |