diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-27 11:43:10 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-27 11:43:10 -0300 |
commit | 407265cbbfd4ae4c56f3eb0185c4e11ca243ebd5 (patch) | |
tree | c1feaae5d82382d69b6e7d1d41777917ec50c501 /sys/dev | |
parent | 8390248e17013b5f30470b9903021037847cbf9a (diff) | |
parent | 731978cbcf55c0b2c8e403cd20d662a337217a58 (diff) | |
download | FreeBSD-src-407265cbbfd4ae4c56f3eb0185c4e11ca243ebd5.zip FreeBSD-src-407265cbbfd4ae4c56f3eb0185c4e11ca243ebd5.tar.gz |
Merge branch 'stable/10' into devel
Catch up with proper fix for pf_increase_self_table_size.diff (r287207)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/midi/midi.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c index 964e1bd..5537d62 100644 --- a/sys/dev/sound/midi/midi.c +++ b/sys/dev/sound/midi/midi.c @@ -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_methods, 0); /* * 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 * */ |