summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-07-01 16:54:54 +0000
committermux <mux@FreeBSD.org>2003-07-01 16:54:54 +0000
commit152160211abb7df1f7bce155cd16d5f4abf107a4 (patch)
treea8fb45eee2057920a12f1bebacff6c3b238f26d1 /sys/ia64
parent5d147363334e57c4dfff5b2d80576787f1412fa7 (diff)
downloadFreeBSD-src-152160211abb7df1f7bce155cd16d5f4abf107a4.zip
FreeBSD-src-152160211abb7df1f7bce155cd16d5f4abf107a4.tar.gz
Honor the boundary of the busdma tag when allocating bounce pages.
This was fixed in revision 1.5 of alpha/alpha/busdma_machdep.c and was never fixed in other busdma backends using bounce pages.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/busdma_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/busdma_machdep.c b/sys/ia64/ia64/busdma_machdep.c
index dd29ff6..69f69ec 100644
--- a/sys/ia64/ia64/busdma_machdep.c
+++ b/sys/ia64/ia64/busdma_machdep.c
@@ -872,7 +872,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages)
M_NOWAIT, 0ul,
dmat->lowaddr,
PAGE_SIZE,
- 0);
+ dmat->boundary);
mtx_unlock(&Giant);
if (bpage->vaddr == NULL) {
free(bpage, M_DEVBUF);
OpenPOWER on IntegriCloud