Subject: emu typos
To: None <netbsd-bugs@netbsd.org>
From: jmc <jmc@prioris.mini.pw.edu.pl>
List: netbsd-bugs
Date: 02/18/2003 15:28:19
Sorry, guys, I don't have a nebsd system to use send-pr...
There are some typos in the emu driver: intial -> initial
jmc.
--- sys/dev/pci/emuxki.c Mon Jun 3 23:13:20 2002
+++ emuxki.new.c Tue Feb 18 14:33:07 2003
@@ -935,7 +935,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 */
@@ -1024,7 +1024,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;
}
@@ -1150,7 +1150,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);
}
--- sys/dev/pci/emuxkivar.h Mon Jun 3 23:13:20 2002
+++ emuxkivar.new.h Tue Feb 18 14:35:27 2003
@@ -99,7 +99,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 */