Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 04:16:55 +0000 (UTC)
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r287588 - stable/8/sys/dev/sound/midi
Message-ID:  <201509090416.t894GtaZ072921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avatar
Date: Wed Sep  9 04:16:55 2015
New Revision: 287588
URL: https://svnweb.freebsd.org/changeset/base/287588

Log:
  MFC r286886: Fixing typo as well as improving readability of a few comments.

Modified:
  stable/8/sys/dev/sound/midi/midi.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/sound/   (props changed)
  stable/8/sys/dev/sound/midi/   (props changed)

Modified: stable/8/sys/dev/sound/midi/midi.c
==============================================================================
--- stable/8/sys/dev/sound/midi/midi.c	Wed Sep  9 04:16:48 2015	(r287587)
+++ stable/8/sys/dev/sound/midi/midi.c	Wed Sep  9 04:16:55 2015	(r287588)
@@ -86,7 +86,7 @@ enum midi_states {
 };
 
 /*
- * The MPU interface current has init() uninit() inqsize(( outqsize()
+ * The MPU interface current has init() uninit() inqsize() outqsize()
  * callback() : fiddle with the tx|rx status.
  */
 
@@ -160,10 +160,15 @@ DEFINE_CLASS(midisynth, midisynth_method
 /*
  * Module Exports & Interface
  *
- * struct midi_chan *midi_init(MPU_CLASS cls, int unit, int chan) int
- * midi_uninit(struct snd_midi *) 0 == no error EBUSY or other error int
- * Midi_in(struct midi_chan *, char *buf, int count) int Midi_out(struct
- * midi_chan *, char *buf, int count)
+ * struct midi_chan *midi_init(MPU_CLASS cls, int unit, int chan,
+ *     void *cookie)
+ * int midi_uninit(struct snd_midi *)
+ *
+ * 0 == no error
+ * EBUSY or other error
+ *
+ * int midi_in(struct snd_midi *, char *buf, int count)
+ * int midi_out(struct snd_midi *, char *buf, int count)
  *
  * midi_{in,out} return actual size transfered
  *
@@ -388,7 +393,7 @@ err0:	mtx_unlock(&midistat_lock);
 
 /*
  * midi_uninit does not call MIDI_UNINIT, as since this is the implementors
- * entry point. midi_unint if fact, does not send any methods. A call to
+ * entry point. midi_uninit if fact, does not send any methods. A call to
  * midi_uninit is a defacto promise that you won't manipulate ch anymore
  *
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509090416.t894GtaZ072921>