From nobody Sun Oct 20 11:21:38 2024 X-Original-To: dev-commits-src-branches@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 4XWbcL6SZsz5YvWL; Sun, 20 Oct 2024 11:21:38 +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 4XWbcL5LPjz4WxY; Sun, 20 Oct 2024 11:21:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729423298; 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=z1v+D+vo/LLfZr0JYEj0HxMQUcaeOTonCEyhUM5ijCY=; b=neu/tdyiHDyHVxKeDrVg4/O1Ql0hhRjQu8I8g0EZBNJEdBy/A/EOCiNC3IhC/dlcl5d2OU KL3xhnsuHY1t98YpcVBguD2g9FKcQDkPNeimZcW3Oi3hxecQKDFC5iEKyX+l+wV+azDsvH OE+yUIK3PaJabAf74xmqZcq7zbdPtfNUXpK2A983AL3mPq1wu9IQ/My+nBVUzfyzR107+H eMFQRuurmKEbMfj74EtTT+nVmglWtHRbW+zVr+0DdCBfO7AvruTqZu8XL+s9ZKQFmEJfyf aK8RVKJZecUbzetbSMvd/vZlPIwyCLMo+c0dp0hnB/QFNaO4ztw11kdKT1mgWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729423298; 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=z1v+D+vo/LLfZr0JYEj0HxMQUcaeOTonCEyhUM5ijCY=; b=qr3QAXHt1wmEZai9ZAu/I9dQX3ebiyKjO7VoGEYOJoXA9l99IBoWTpcdLY+3y8erLYNAKL dm/xRjaixLDUYnkFW2OXb24lNvxi2V4dRWDtj8MkC4YjV6Ra43pmpNEYaYRNM6ditlZSOJ rZkVMyqrs091oI9fWJ3lBRQySL2FF7ZiiobOWVmGGlUXHLigUn8Eguo7dQ1+gqnOvuNWqN 6YFpQdw9QG9Zt3Xlb+hOnfGeaZuPEROMqcuQHjR68BvBKLO+JycCOcxjM2gN6udARYpX9I zGIebScY2LhrOJkpC9aOh/fK2Ni5GnMoDl8BPnGQbPlTItsX3TxsySbS3m8sRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729423298; a=rsa-sha256; cv=none; b=B3NeIYfOvKk8tCRDUAH7NPEdYJJI/74mI8Bz2Cbf6YYE0ZQWPH5BdcIelpRZwDaX7uZ/XZ ANdC2aaPIpnmwmPqVjtKwz9KoA4eyvPP/wWLZpR/3nBJs9Z25D8QRVPNOUCWHmtcJrHYSf mh5NuUlCYlkDKPRsvhco9TAkFpie2JHX5RHTGc/I+vYrZ3aii3WMCnqBzbEcyndSfaMHvl SbEAIcL+mWafDwKwnGTXZmS2HEOOXrC1vHyNUiVLYBYrZBIIzTTONixmuCEWDZel4/WXD0 n3ecBV+S7p9NUl0d+/YOcIiSMLrp6tna4zRqDu67SFeKoGaoED+uU2AA8+47JQ== 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 4XWbcL4dJbz108Q; Sun, 20 Oct 2024 11:21:38 +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 49KBLcYw062875; Sun, 20 Oct 2024 11:21:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49KBLcwi062872; Sun, 20 Oct 2024 11:21:38 GMT (envelope-from git) Date: Sun, 20 Oct 2024 11:21:38 GMT Message-Id: <202410201121.49KBLcwi062872@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: ebdf08844534 - stable/14 - sound: Retire SND_MAXHWCHAN List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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: ebdf0884453453a50b5c1c446e930d64407be27f Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=ebdf0884453453a50b5c1c446e930d64407be27f commit ebdf0884453453a50b5c1c446e930d64407be27f Author: Christos Margiolis AuthorDate: 2024-10-18 08:40:16 +0000 Commit: Christos Margiolis CommitDate: 2024-10-20 11:21:05 +0000 sound: Retire SND_MAXHWCHAN No longer used. Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D46522 (cherry picked from commit 248aced26eee6f569717618d097bc2205a93c800) --- sys/dev/sound/pcm/sound.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 2de6ab29bd66..51c9c91f6f20 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -99,11 +99,7 @@ struct snd_mixer; #define SOUND_PREFVER SOUND_MODVER #define SOUND_MAXVER SOUND_MODVER -/* - * By design, limit possible channels for each direction. - */ -#define SND_MAXHWCHAN 256 -#define SND_MAXVCHANS SND_MAXHWCHAN +#define SND_MAXVCHANS 256 #define SD_F_SIMPLEX 0x00000001 #define SD_F_AUTOVCHAN 0x00000002