From nobody Fri Oct 18 08:44:59 2024 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 4XVJDW5XdKz5Ywf0; Fri, 18 Oct 2024 08:44:59 +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 4XVJDW4HWCz4mT2; Fri, 18 Oct 2024 08:44:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729241099; 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=dJy8m1BJG3LILzMwTdu2a4ZjafJOeqVMhBYrwH0fp10=; b=Ag3Xluo+jYkbsJDgxJJWi7wB2QBomMYLpI+MPYKf1tPL7hdTYMtCDDsBpdcojbNMWe94iJ pdv7Mx+q3q5GDgyS2BWvcebrElp9SdsOeSOzA3AUVGISzxrSMlZjMXMXX0oSiTW9a8GNV4 p1Paho4QQh24kdD13VuLArQ03Q/VpHZwtWQSAsZ21Xn2TyEIjkTuqWc7xagBpvBddLrQZT ZHxL5WNsR9EEN++cbepu3cYRQtcgbJEKJf1TP9H7ob2EYKSoIE6Oa8BE+78cTbOaiiOgc3 kMw/+TbWd+bNk2PZMEzKPffVD8WGpC78f1OeAmqsQ5QrTEUniI1If/HbioJLjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729241099; 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=dJy8m1BJG3LILzMwTdu2a4ZjafJOeqVMhBYrwH0fp10=; b=w53xufQt0oOYEdBjpgPsS4c5VNAgmU/ftwu+t7RFXFDRF5W+NKMTB+DLaenlXsYOl9p3DV s74silDNVnDjocmvGMXQfVFZzczPrbFT06pv9/7+X2fpla9oKSfLJg1ymp86Mx4xI4wP5N yb1DniDwNWAQTO8+KWsDMZob7LSKRcXSXZTUbCwrJAwTPTO/tWIp5h8ZEegqNjjH7ZCxTO lS7XWhT9zRefnMOIEJhI6LjSmxMj6o0U85q5cYMsMajxMwyzHlgeqN9SNq7p83nUVbpVGH h4iWoxiNQ0a+Ii0IL9B+kwmCRtgel/swXJFzE9NkcxRfx1x2ugiDDRIhQMNI+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729241099; a=rsa-sha256; cv=none; b=QATn9kfMY0RSW0SInwRRmz7Dt7dzw6A4PuPN96udAWB6RYzl3syHCtuGaQW3MHVQQFgMAQ k/HMiPFsnK4DRVjqcijnJV0pwEKMOkYddJNlXfQZGIv3q+xq8pwZFnBFJ7kL5z1eRqRR4L wuKrxpoOnW4CUo0T2Dxo0nHv0iHqFrxw9ReIriZ2cXreDOTTnwKPj/F0WUTDJ4bRYesCHP LlQ9tlcKn5NoWqjqiK7LRDwEJ7y5+AR1utE+XKU7LAn1hLKzA/l0Hr5bjgdlveEJGBxYU1 5Sy9hS1qvEyBs3aJy90VhCY6W4/7JrqAk2o71fQxruhYeOYy/nhQ/ny28WAqeQ== 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 4XVJDW3gnJzRgx; Fri, 18 Oct 2024 08:44:59 +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 49I8ix2j088089; Fri, 18 Oct 2024 08:44:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49I8ix8S088086; Fri, 18 Oct 2024 08:44:59 GMT (envelope-from git) Date: Fri, 18 Oct 2024 08:44:59 GMT Message-Id: <202410180844.49I8ix8S088086@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 248aced26eee - main - sound: Retire SND_MAXHWCHAN 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/main X-Git-Reftype: branch X-Git-Commit: 248aced26eee6f569717618d097bc2205a93c800 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=248aced26eee6f569717618d097bc2205a93c800 commit 248aced26eee6f569717618d097bc2205a93c800 Author: Christos Margiolis AuthorDate: 2024-10-18 08:40:16 +0000 Commit: Christos Margiolis CommitDate: 2024-10-18 08:40:16 +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 --- 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