Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev bus_dmapmap_create: boundary must be 0, n...



details:   https://anonhg.NetBSD.org/src/rev/223cb9d37eda
branches:  trunk
changeset: 487929:223cb9d37eda
user:      pk <pk%NetBSD.org@localhost>
date:      Thu Jun 15 12:12:05 2000 +0000

description:
bus_dmapmap_create: boundary must be 0, not NBPG.

diffstat:

 sys/arch/sparc/dev/if_ie_obio.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 050e2bc6d4d2 -r 223cb9d37eda sys/arch/sparc/dev/if_ie_obio.c
--- a/sys/arch/sparc/dev/if_ie_obio.c   Thu Jun 15 10:33:15 2000 +0000
+++ b/sys/arch/sparc/dev/if_ie_obio.c   Thu Jun 15 12:12:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie_obio.c,v 1.14 2000/05/09 22:42:08 pk Exp $       */
+/*     $NetBSD: if_ie_obio.c,v 1.15 2000/06/15 12:12:05 pk Exp $       */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -316,7 +316,7 @@
        /*
         * Allocate control & buffer memory.
         */
-       if ((error = bus_dmamap_create(dmatag, msize, 1, msize, NBPG,
+       if ((error = bus_dmamap_create(dmatag, msize, 1, msize, 0,
                                        BUS_DMA_NOWAIT|BUS_DMA_24BIT,
                                        &sc->sc_dmamap)) != 0) {
                printf("%s: DMA map create error %d\n",



Home | Main Index | Thread Index | Old Index