Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci s/intial/initial/, from jmc in .pl in PR 20414.



details:   https://anonhg.NetBSD.org/src/rev/e5c356d8bfd4
branches:  trunk
changeset: 543176:e5c356d8bfd4
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Feb 18 18:47:06 2003 +0000

description:
s/intial/initial/, from jmc in .pl in PR 20414.

diffstat:

 sys/dev/pci/emuxki.c    |  10 +++++-----
 sys/dev/pci/emuxkivar.h |   4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 4a74df605c97 -r e5c356d8bfd4 sys/dev/pci/emuxki.c
--- a/sys/dev/pci/emuxki.c      Tue Feb 18 18:12:07 2003 +0000
+++ b/sys/dev/pci/emuxki.c      Tue Feb 18 18:47:06 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxki.c,v 1.16 2003/02/01 06:23:39 thorpej Exp $      */
+/*     $NetBSD: emuxki.c,v 1.17 2003/02/18 18:47:06 wiz Exp $  */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.16 2003/02/01 06:23:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.17 2003/02/18 18:47:06 wiz Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -887,7 +887,7 @@
        chan->fxsend.c.dest = 0x2;
        chan->fxsend.d.dest = 0x3;
 
-       chan->pitch.intial = 0x0000;    /* shouldn't it be 0xE000 ? */
+       chan->pitch.initial = 0x0000;   /* shouldn't it be 0xE000 ? */
        chan->pitch.current = 0x0000;   /* should it be 0x0400 */
        chan->pitch.target = 0x0000;    /* the unity pitch shift ? */
        chan->pitch.envelope_amount = 0x00;     /* none */
@@ -976,7 +976,7 @@
                (chan->pitch.target & 1);
        chan->pitch.target &= 0xffff;
        chan->pitch.current = chan->pitch.target;
-       chan->pitch.intial =
+       chan->pitch.initial =
                (emuxki_rate_to_pitch(srate) >> 8) & EMU_CHAN_IP_MASK;
 }
 
@@ -1102,7 +1102,7 @@
                chan->pitch.target);
        emuxki_write(sc, chano, EMU_CHAN_CPF_PITCH,
                chan->pitch.current);
-       emuxki_write(sc, chano, EMU_CHAN_IP, chan->pitch.intial);
+       emuxki_write(sc, chano, EMU_CHAN_IP, chan->pitch.initial);
 
        splx(s);
 }
diff -r 4a74df605c97 -r e5c356d8bfd4 sys/dev/pci/emuxkivar.h
--- a/sys/dev/pci/emuxkivar.h   Tue Feb 18 18:12:07 2003 +0000
+++ b/sys/dev/pci/emuxkivar.h   Tue Feb 18 18:47:06 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxkivar.h,v 1.3 2001/12/23 23:14:59 jdolecek Exp $   */
+/*     $NetBSD: emuxkivar.h,v 1.4 2003/02/18 18:47:06 wiz Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
 };
 
 struct emuxki_chanparms_pitch {
-       u_int16_t       intial; /* 4 bits of octave, 12 bits of fractional
+       u_int16_t       initial;/* 4 bits of octave, 12 bits of fractional
                                 * octave */
        u_int16_t       current;/* 0x4000 == unity pitch shift */
        u_int16_t       target; /* 0x4000 == unity pitch shift */



Home | Main Index | Thread Index | Old Index