Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev Reset the status register after abort.



details:   https://anonhg.NetBSD.org/src/rev/f636a18f17b1
branches:  trunk
changeset: 510179:f636a18f17b1
user:      minoura <minoura%NetBSD.org@localhost>
date:      Tue May 22 00:16:49 2001 +0000

description:
Reset the status register after abort.

diffstat:

 sys/arch/x68k/dev/intio_dmac.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7bb055aa0946 -r f636a18f17b1 sys/arch/x68k/dev/intio_dmac.c
--- a/sys/arch/x68k/dev/intio_dmac.c    Tue May 22 00:15:54 2001 +0000
+++ b/sys/arch/x68k/dev/intio_dmac.c    Tue May 22 00:16:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intio_dmac.c,v 1.9 2001/05/02 12:48:24 minoura Exp $   */
+/*     $NetBSD: intio_dmac.c,v 1.10 2001/05/22 00:16:49 minoura Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -627,6 +627,7 @@
 
        bus_space_write_1(sc->sc_bst, chan->ch_bht, DMAC_REG_CCR,
                          DMAC_CCR_INT | DMAC_CCR_HLT);
+       bus_space_write_1(sc->sc_bst, chan->ch_bht, DMAC_REG_CSR, 0xff);
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index