Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Ops, sync the script DMA map when the script RAM ...



details:   https://anonhg.NetBSD.org/src/rev/3084e118189e
branches:  trunk
changeset: 498378:3084e118189e
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Oct 21 13:56:17 2000 +0000

description:
Ops, sync the script DMA map when the script RAM *don't* exists.

diffstat:

 sys/dev/ic/siop.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 892a0d548851 -r 3084e118189e sys/dev/ic/siop.c
--- a/sys/dev/ic/siop.c Sat Oct 21 13:53:25 2000 +0000
+++ b/sys/dev/ic/siop.c Sat Oct 21 13:56:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.33 2000/10/19 07:22:06 bouyer Exp $ */
+/*     $NetBSD: siop.c,v 1.34 2000/10/21 13:56:17 bouyer Exp $ */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -140,7 +140,7 @@
        struct siop_softc *sc;
        int ops;
 {
-       if ((sc->features & SF_CHIP_RAM) != 0)
+       if ((sc->features & SF_CHIP_RAM) == 0)
                bus_dmamap_sync(sc->sc_dmat, sc->sc_scriptdma, 0, NBPG, ops);
 }
 



Home | Main Index | Thread Index | Old Index