yeah, working on it.
On Sat, 4 Jun 2022, J. Hannken-Illjes wrote:
On 4. Jun 2022, at 05:31, Paul Goyette <pgoye...@netbsd.org> 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 - hann...@mailbox.org
+--------------------+--------------------------+----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org |
| & Network Engineer | | pgoyett...@gmail.com |
+--------------------+--------------------------+----------------------+