From 3fe7e33bdc780cf9a2338a893147ac50022eb3b0 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 25 Jan 2002 20:49:25 +0000 Subject: [PATCH] When loading the bounce buffer into the DMA map, don't pass in a proc, because the bounce buffer belongs to the kernel. --- sys/arch/arm32/isa/isadma_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm32/isa/isadma_machdep.c b/sys/arch/arm32/isa/isadma_machdep.c index 9e7cfd54b03a..f1e28bb437e0 100644 --- a/sys/arch/arm32/isa/isadma_machdep.c +++ b/sys/arch/arm32/isa/isadma_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: isadma_machdep.c,v 1.5 2000/06/29 08:53:01 mrg Exp $ */ +/* $NetBSD: isadma_machdep.c,v 1.6 2002/01/25 20:49:25 thorpej Exp $ */ #define ISA_DMA_STATS @@ -311,7 +311,7 @@ _isa_bus_dmamap_load(t, map, buf, buflen, p, flags) cookie->id_origbuflen = buflen; cookie->id_buftype = ID_BUFTYPE_LINEAR; error = _bus_dmamap_load(t, map, cookie->id_bouncebuf, buflen, - p, flags); + NULL, flags); if (error) { /* * Free the bounce pages, unless our resources