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 Add missing line in recording. Copy & pas...



details:   https://anonhg.NetBSD.org/src/rev/05b639b37a5c
branches:  trunk
changeset: 510348:05b639b37a5c
user:      minoura <minoura%NetBSD.org@localhost>
date:      Sun May 27 05:30:02 2001 +0000

description:
Add missing line in recording.  Copy & paste error...

diffstat:

 sys/arch/x68k/dev/vs.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 0516b50fac0d -r 05b639b37a5c sys/arch/x68k/dev/vs.c
--- a/sys/arch/x68k/dev/vs.c    Sun May 27 05:29:48 2001 +0000
+++ b/sys/arch/x68k/dev/vs.c    Sun May 27 05:30:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vs.c,v 1.5 2001/05/22 00:15:54 minoura Exp $   */
+/*     $NetBSD: vs.c,v 1.6 2001/05/27 05:30:02 minoura Exp $   */
 
 /*
  * Copyright (c) 2001 Tetsuya Isaki. All rights reserved.
@@ -272,6 +272,7 @@
                sc->sc_current.dmap += sc->sc_current.blksize;
                if (sc->sc_current.dmap + sc->sc_current.blksize
                        > sc->sc_current.bufsize)
+                       sc->sc_current.dmap -= sc->sc_current.bufsize;
                dmac_start_xfer_offset (sc->sc_dma_ch->ch_softc,
                                        sc->sc_current.xfer,
                                        sc->sc_current.dmap,
@@ -467,8 +468,8 @@
 
 static int
 vs_trigger_output(void *hdl, void *start, void *end, int bsize,
-                       void (*intr)(void *), void *arg,
-                       struct audio_params *p)
+                 void (*intr)(void *), void *arg,
+                 struct audio_params *p)
 {
        struct vs_softc *sc = hdl;
        struct vs_dma *vd;
@@ -516,8 +517,8 @@
 
 static int
 vs_trigger_input(void *hdl, void *start, void *end, int bsize,
-                      void (*intr)(void *), void *arg,
-                      struct audio_params *p)
+                void (*intr)(void *), void *arg,
+                struct audio_params *p)
 {
        struct vs_softc *sc = hdl;
        struct vs_dma *vd;



Home | Main Index | Thread Index | Old Index