Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus bus_dmamap_load() can't take BUS_DMA_COHERENT f...



details:   https://anonhg.NetBSD.org/src/rev/9cd82791fd7d
branches:  trunk
changeset: 536279:9cd82791fd7d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Sep 12 16:01:06 2002 +0000

description:
bus_dmamap_load() can't take BUS_DMA_COHERENT flag.

diffstat:

 sys/dev/sbus/if_le.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 89039ee21897 -r 9cd82791fd7d sys/dev/sbus/if_le.c
--- a/sys/dev/sbus/if_le.c      Thu Sep 12 15:35:02 2002 +0000
+++ b/sys/dev/sbus/if_le.c      Thu Sep 12 16:01:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le.c,v 1.21 2002/03/20 20:39:15 eeh Exp $   */
+/*     $NetBSD: if_le.c,v 1.22 2002/09/12 16:01:06 tsutsui Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.21 2002/03/20 20:39:15 eeh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.22 2002/09/12 16:01:06 tsutsui Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -259,7 +259,7 @@
 
                /* Load DMA buffer */
                if ((error = bus_dmamap_load(dmatag, lesc->sc_dmamap, sc->sc_mem,
-                   MEMSIZE, NULL, BUS_DMA_NOWAIT|BUS_DMA_COHERENT)) != 0) {
+                   MEMSIZE, NULL, BUS_DMA_NOWAIT)) != 0) {
                        printf("%s: DMA buffer map load error %d\n",
                                self->dv_xname, error);
                        bus_dmamem_free(dmatag, &seg, rseg);



Home | Main Index | Thread Index | Old Index