Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm32/isa When loading the bounce buffer into the D...



details:   https://anonhg.NetBSD.org/src/rev/f8fa5c2024ad
branches:  trunk
changeset: 521193:f8fa5c2024ad
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jan 25 20:49:25 2002 +0000

description:
When loading the bounce buffer into the DMA map, don't
pass in a proc, because the bounce buffer belongs to the
kernel.

diffstat:

 sys/arch/arm32/isa/isadma_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 702efdd7a893 -r f8fa5c2024ad sys/arch/arm32/isa/isadma_machdep.c
--- a/sys/arch/arm32/isa/isadma_machdep.c       Fri Jan 25 20:30:41 2002 +0000
+++ b/sys/arch/arm32/isa/isadma_machdep.c       Fri Jan 25 20:49:25 2002 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index