diff options
| author | bouyer <bouyer@NetBSD.org> | 2000-10-21 13:56:17 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2000-10-21 13:56:17 +0000 |
| commit | 2ebf1a0cd0ebb8068b7e97294015c3aaecdf9784 (patch) | |
| tree | ef111935258cd2d97764c855442214c6c2a1d4d7 /sys/dev/ic | |
| parent | 0036e468efb6c59b0c2537899fd50a5d4a6d4052 (diff) | |
Ops, sync the script DMA map when the script RAM *don't* exists.
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/siop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c index ca055ee1d41..c2d0863eeb1 100644 --- a/sys/dev/ic/siop.c +++ b/sys/dev/ic/siop.c @@ -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 @@ siop_script_sync(sc, ops) 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); } |
