From nobody Sat May 31 19:30:00 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b8qtx69J6z5xSrw; Sat, 31 May 2025 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b8qtx1Ptkz3xNH; Sat, 31 May 2025 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748719801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6sSwFx89QRe/lQW6bCC7Gp2zSFELYrKNA2rNZM7kt6M=; b=WXpXdiz7Z914ENHUTrZ4NcV5IvX3O5qkZWy4DDJ8QaihnxLk1KyiaEAwVTW25/LSizG/yA MiuYSV4bbAY0ZB3wd5Rb5huguG6EVPBvZgJD+IO8C+hUOz6wa9qXrHy475guKXv/FHLSe/ rvLZrkrmKKYd07C8vtXgphGKtJ4jur/f2o6NkuJP3z9T1Rahq4hCHqDTvsPKg5HsMEWXjR SFtl1gVMTwxzo6O9tTtTUSn29u79aMeYmru38nYCe6M8YiUzCNWMysniffs+pfc/6n1Kqs M/cEBWv1SZHgNtx6wuDgruDoSeJKDOqifaOQlM56+dYTF1gd/MOmlySYA+fBVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748719801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6sSwFx89QRe/lQW6bCC7Gp2zSFELYrKNA2rNZM7kt6M=; b=X9dLoBc4PmdZUrQOJ9PjL0/Alc3mPZJIXeOrIWOlQf6gJwL7AFAer9UGPwYrL2SdreScKJ /7ibbfGjtxC+kW6eRnnuKZwWjVh8haUAhs314TdhRaMYoKvuxr1WtLqdCYUMx8vx5Ad8dB lD1Ii6t78T4Hivc4CYHfKuvxYg2vKGzXEn8TnMIhU6ARrJ3xwU4QxFf7loq908VFcbDAA6 uRW+GIncIwiLwvzENaDQ1mFk/zfmP3FRl+6sYzJrr+i9L070DkcfxTqu/8HAwMxNLO2Y6i wW5W5vs/RxN4TBm7U/cp+cQx5gFbbmB+mbZH1zYtU+qDvi4I/UQ/+6VI5OFm1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748719801; a=rsa-sha256; cv=none; b=lFaNVbUk8DP9S9z3tP5jdcMMNfaXTnTozE+Hyr4ds7+FOj0hdRZLuoOubhM8VGMxQFSGal FMwoWN2jtHZdmgOghpXeCkIUuKPdsQvGsfVklPRTmecZxsohI7Di0Sh68M9pTJiqCG+YjN /FwpOxeieK5M2ShqK/6qzT6oLSSsh7AV0rEGt30xUuopoO33No1d5bl0ws7QcmQFMC22Os VxjjRHEXHHewH5IoOM5HdOXL9ZA1gTaexGkHzEhKQ18aPda5p5OPRjJJjZEx8Lrrs+mkeO tiWMnyGxVa6DSnx/OjTBX1sR68oijIOXQKL31r3PnNNfpuBm5YoMctfGPTv2Sg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b8qtx0KkWzrly; Sat, 31 May 2025 19:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54VJU0L9077465; Sat, 31 May 2025 19:30:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54VJU0hQ077440; Sat, 31 May 2025 19:30:00 GMT (envelope-from git) Date: Sat, 31 May 2025 19:30:00 GMT Message-Id: <202505311930.54VJU0hQ077440@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: ab9c9443eec5 - stable/14 - sound: Deprecate the MIDI sequencer List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ab9c9443eec582265c288dc46d2c2144f0f81188 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=ab9c9443eec582265c288dc46d2c2144f0f81188 commit ab9c9443eec582265c288dc46d2c2144f0f81188 Author: Christos Margiolis AuthorDate: 2025-05-30 17:26:01 +0000 Commit: Christos Margiolis CommitDate: 2025-05-31 19:29:38 +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 (cherry picked from commit 799105f53a9647f86dbf08456260d5850851b6f9) --- 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 e4ea1e208356..9c4089debf4c 100644 --- a/sys/dev/sound/midi/sequencer.c +++ b/sys/dev/sound/midi/sequencer.c @@ -520,6 +520,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); @@ -737,6 +739,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;