From nobody Fri May 17 19:30:54 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 4Vgxrt4mZHz5LgBX; Fri, 17 May 2024 19:30:54 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vgxrt2nbgz4tp3; Fri, 17 May 2024 19:30:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974254; 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=2ofk2AUjxbH8V7vKLjEUqvwpmlug8AJDvv7idfcTQdU=; b=iddt9AgTnlodxRwCN2wgkYuWat8+SHybGdhphcKSMtk24RQChl7yKl8IqAXjIQTpztxKWz TUJ2OLZnyVoT0vL2XHGYsWc1HtZsuGqXXY9EGhwgZ1aPGjewKt+U3gOz9l+xN1KpS6Ci2v Zxksu1O5L+F3Tx3kAWiT4uobbvx+OCzoOweduzknz2Pz0CVVpKElTxTAHhgpyapzqsEjjM EL5fF1aXZmeCaEIwlCqX3iN31Wxgy7rn2orgmSgrXXkRLGSHE7QuzkOn2cXv0nmG/LM0lb O8bNCgpo7Jb5jTDExB2x5u7BIwvPNGuzW8AFN2ltyn3w4+WiGtvu8PKZbzFTcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715974254; a=rsa-sha256; cv=none; b=NL8oGS0Zk6k8/DlGmQ01x84BL1Huw3mwm/u9/3McbqzTfdeXk4EIrobKRwp2KwXoFjS2GH yIqxZUTel24m0P+zI3FBzyAcJ9TMVofCNVE4h0LF7BxHzD82yGEOc+n501TOXXlv78RQUP QGkd4mBriE4FBDSh3ivV81os59EcYcwD3wBP64BnjZxPIGmqRRoO1s6epaSNfm//pssuCx OUndvdA8R+FkFNSrFqnTXgkxQUOx09c+X70P5HPj7r4HROARk3EroZUxjUDuU4nbgPgKC1 wK575+4ZxRP7S9dKjM2j1qOK3FjLLghCq2bJA1JF2tqBEPWdUYypkoFejiWa0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974254; 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=2ofk2AUjxbH8V7vKLjEUqvwpmlug8AJDvv7idfcTQdU=; b=bBhVrdIk5gpqRzF/0/m+BNP5oMV/Cfh9KRReYEMqTLgeTqyQoJI5yBUzqWSJCY69AFvz1R QRfv3caz6jAjcPBOcWnBeMJyfi0/6YNq8shdXcPwwjJK8gfCTw1beGj8WELZAzyHhF/M/u paudGGuTdxBkBV7tqE5dY1GtkQLY0O9w79oSHYAcLIjtA9EZLUO1MIbLlBuOWjnDwfCrEj NZmb4NirVfGGXeDuePwhpYt1WOQI3Ui2ETeybZwYpW6H7E44TDNorP87foX86irPA+jIma YlcGLn1efyKThX0L8w26GjmBhf0o/b/bvr4qLbcQLh8v4V3SqOhExtKj2PBthw== 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 4Vgxrt26XYzvgc; Fri, 17 May 2024 19:30:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44HJUsNr099342; Fri, 17 May 2024 19:30:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HJUsfj099339; Fri, 17 May 2024 19:30:54 GMT (envelope-from git) Date: Fri, 17 May 2024 19:30:54 GMT Message-Id: <202405171930.44HJUsfj099339@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: 41dee6355556 - stable/14 - sound: Remove obsolete DV_F_* flags 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: 41dee63555560f06175dfd80ef25c8ef7cc5199c Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=41dee63555560f06175dfd80ef25c8ef7cc5199c commit 41dee63555560f06175dfd80ef25c8ef7cc5199c Author: Christos Margiolis AuthorDate: 2024-04-18 20:35:26 +0000 Commit: Christos Margiolis CommitDate: 2024-05-17 19:30:01 +0000 sound: Remove obsolete DV_F_* flags The ISA sound drivers that used them are retired. Last reference of DV_F_DRQ_MASK and DV_F_DUAL_DMA: 716924cb4832ea0a440daf09913a06f3166f243e ("Retire snd_sbc ISA sound card driver") Last reference of DV_F_DEV_MASK and DV_F_DEV_SHIFT: 5126e5eeeb5e07ceef3c809452a8c9f508b2d4d1 ("Retire snd_mss ISA sound card driver") Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D44858 (cherry picked from commit 1b82d425ec0ac155765bcdf706040534309e9c94) --- sys/dev/sound/pcm/sound.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index b72348ccf486..fe310a3be3d6 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -341,14 +341,6 @@ void snd_mtxassert(void *m); int sndstat_register(device_t dev, char *str); int sndstat_unregister(device_t dev); -/* usage of flags in device config entry (config file) */ -#define DV_F_DRQ_MASK 0x00000007 /* mask for secondary drq */ -#define DV_F_DUAL_DMA 0x00000010 /* set to use secondary dma channel */ - -/* ought to be made obsolete but still used by mss */ -#define DV_F_DEV_MASK 0x0000ff00 /* force device type/class */ -#define DV_F_DEV_SHIFT 8 /* force device type/class */ - /* * this is rather kludgey- we need to duplicate these struct def'ns from sound.c * so that the macro versions of pcm_{,un}lock can dereference them.