On 4. Jun 2022, at 05:31, Paul Goyette <pgoyette%netbsd.org@localhost> wrote:
Module Name: src
Committed By: pgoyette
Date: Sat Jun 4 03:31:10 UTC 2022
Modified Files:
src/sys/dev: files.audio files.dev midi.c sequencer.c
src/sys/modules: Makefile
src/sys/modules/midi: Makefile
src/sys/modules/sequencer: Makefile
Added Files:
src/sys/dev: midi_mod.c midi_seq_mod.c sequencer_mod.c
src/sys/modules/midi_seq: Makefile midi_seq.ioconf
Removed Files:
src/sys/modules/midi: midi.ioconf
src/sys/modules/sequencer: sequencer.ioconf
Log Message:
Combine the midi and sequencer modules into a single midi_seq module
to avoid a circular dependency as noted in kern/56772. Retain minimal
modules of the original names to accomodate auto-loading upon access
to the /dev/xxx nodes.
This breaks at least sparc64/GENERIC:
sys/dev/sequencer.c:285:1: error: no previous prototype for 'sequencerattach' [-Werror=missing-prototypes]
285 | sequencerattach(int n)
| ^~~~~~~~~~~~~~~
It has "midi* at midibus?" but no "pseudo-device sequencer".
--
J. Hannken-Illjes - hannken%mailbox.org@localhost