The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=799105f53a9647f86dbf08456260d5850851b6f9
commit 799105f53a9647f86dbf08456260d5850851b6f9 Author: Christos Margiolis <chris...@freebsd.org> AuthorDate: 2025-05-30 17:26:01 +0000 Commit: Christos Margiolis <chris...@freebsd.org> CommitDate: 2025-05-30 17:26:01 +0000 sound: Deprecate the MIDI sequencer The in-kernel MIDI sequencer is not used anymore, since this is done by userland applications nowadays. It also contains bugs, and we are not exactly sure how it works, or if it worked properly in the first place. Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D50606 --- sys/dev/sound/midi/sequencer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c index 29e01fcaba2f..db49aa1ef259 100644 --- a/sys/dev/sound/midi/sequencer.c +++ b/sys/dev/sound/midi/sequencer.c @@ -519,6 +519,8 @@ seq_addunit(void) int ret; u_char *buf; + gone_in(15, "MIDI sequencer: no longer needed or used"); + /* Allocate the softc. */ ret = ENOMEM; scp = malloc(sizeof(*scp), M_DEVBUF, M_NOWAIT | M_ZERO); @@ -736,6 +738,8 @@ mseq_open(struct cdev *i_dev, int flags, int mode, struct thread *td) struct seq_softc *scp = i_dev->si_drv1; int i; + gone_in(15, "MIDI sequencer: no longer needed or used"); + if (scp == NULL) return ENXIO;