From b3e61b0b564d1942d966af67b4543043fd1210d0 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 18 Feb 2003 18:47:06 +0000 Subject: [PATCH] s/intial/initial/, from jmc in .pl in PR 20414. --- sys/dev/pci/emuxki.c | 10 +++++----- sys/dev/pci/emuxkivar.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c index 7dbb8c459718..523d20e8b6f0 100644 --- a/sys/dev/pci/emuxki.c +++ b/sys/dev/pci/emuxki.c @@ -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 -__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 #include @@ -887,7 +887,7 @@ emuxki_chanparms_set_defaults(struct emuxki_channel *chan) 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 @@ emuxki_channel_set_srate(struct emuxki_channel *chan, u_int32_t srate) (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 @@ emuxki_channel_start(struct emuxki_channel *chan) 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 --git a/sys/dev/pci/emuxkivar.h b/sys/dev/pci/emuxkivar.h index ab3353c8c559..714f139a846b 100644 --- a/sys/dev/pci/emuxkivar.h +++ b/sys/dev/pci/emuxkivar.h @@ -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_fxsend { }; 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 */