Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus this was *still* wrong



details:   https://anonhg.NetBSD.org/src/rev/290c6f0a3bb0
branches:  trunk
changeset: 504208:290c6f0a3bb0
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Sun Feb 25 01:49:18 2001 +0000

description:
this was *still* wrong

diffstat:

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

diffs (27 lines):

diff -r 7ec96db26991 -r 290c6f0a3bb0 sys/dev/sbus/isp_sbus.c
--- a/sys/dev/sbus/isp_sbus.c   Sun Feb 25 01:44:02 2001 +0000
+++ b/sys/dev/sbus/isp_sbus.c   Sun Feb 25 01:49:18 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_sbus.c,v 1.38 2001/02/25 01:44:02 mjacob Exp $ */
+/* $NetBSD: isp_sbus.c,v 1.39 2001/02/25 01:49:18 mjacob Exp $ */
 /*
  * This driver, which is contained in NetBSD in the files:
  *
@@ -411,7 +411,7 @@
 
        /* Map DMA buffer in CPU addressable space */
        if (bus_dmamem_map(dmatag, &seg, rs, len, (caddr_t *)&isp->isp_rquest,
-           BUS_DMA_NOWAIT)) {
+           BUS_DMA_NOWAIT|BUS_DMA_COHERENT)) {
                bus_dmamap_unload(dmatag, sbc->sbus_rquest_dmamap);
                bus_dmamem_free(dmatag, &seg, rs);
                goto dmafail;
@@ -434,7 +434,7 @@
 
        /* Load the buffer */
        if (bus_dmamap_load_raw(dmatag, sbc->sbus_result_dmamap,
-           &seg, rs, len, BUS_DMA_NOWAIT|BUS_DMA_COHERENT) != 0) {
+           &seg, rs, len, BUS_DMA_NOWAIT) != 0) {
                bus_dmamem_free(dmatag, &seg, rs);
                goto dmafail;
        }



Home | Main Index | Thread Index | Old Index