From nobody Thu Apr 18 20:35: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 4VL8gG4js2z5HXY2; Thu, 18 Apr 2024 20:35: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 4VL8gG3Rdbz4NFC; Thu, 18 Apr 2024 20:35:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713472554; 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=PkH101Ux2t2uWVJeipJYrZAP4A17himF9L3fQhssEP4=; b=LWxzBXA6YilV+fI80DDzecn/iN7RkDJrQGP+aciCPlHEfyOUXDaYIzBR84RGBdRqdUO1WH QRt/7c6Ot6kPTuE8suRdox/S1H4VMdZ1A6Uhr3G/ZZ4vWOYrNms0tHPjBPyKiy2qrN/Sst Hu+3tHqoS8ddV4JmJlXM74WSN6yPB6st+qcfDijAgknY2ao9R1a6Nz5BYREKPZl5jQbBbh W4wIW0Q4S4BQZ5dVdKnsbVuiTlALOwiXEnGwEsydJe7BqsbMSQBqPl+H+/b/ff+IWeUWqh WQA00X7ISfC8hH/YeDNXgLANvMPsgwifMOsrlagqvlYWCmhyuAV8KKlcxfSo0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713472554; a=rsa-sha256; cv=none; b=wtUlnmkR9wBDk43eciy4PlS3dUZGCWhBoFNEEZ84Vr0g1gnsawedE9LtjA71dlv6NIEJUQ xUnJ8AOmrqcphXo6oz6txdnn5jZYbRxBY9uD67GIPKqPCbixZH972IIDkzlJotUcdwxy0a 2jSlyrbFV0nWYCWqZMzRiTQm3rsLzXK7lXI368dNOQSDot2QXdoo1Ew6OJwHbmFYgxgl7i wRajYZ1JFMEgdMhpsFwi8zhi/E8T3JCAoJF68ufws8VrcQjFPmAcpzxhb4KyAqLSZvBPzW 2WyL7GMj4/R6WIMcEynVScYOqzvBw7rh+AIdNvwNiVYDOY0qLghciCNSItGkfg== 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=1713472554; 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=PkH101Ux2t2uWVJeipJYrZAP4A17himF9L3fQhssEP4=; b=iJ2z1MGP0M/l3qXJ11YcOoooFpThyphFfns660TS/QETixbHKdE2hddxpQBPi2WvH6wyxR lIVWncKhQxPX6hPnk1DDNh+Y3yzdkHCH3rl3T+fVNkAMYZITuo+N9wEeLNPJf+yK0yGEmZ kV/crNYhZil7dCpivt6QZF6ecuPx8t+TqLi09gBiBobwr19vAT0w4i+8neddGoltmqb3/A TwGvHWQsqh98KFS04D242uP6fDejJ8m0d73sS94kettpvjAYxK58H0ET4PDLi+wD4I1OzK MiLguItjxdrwU11uUKFB6cLPOMEPi7w4Rti+RnVEdDGIB7fj8gBocpQU23deVA== 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 4VL8gG33TvzPmw; Thu, 18 Apr 2024 20:35: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 43IKZsIc056849; Thu, 18 Apr 2024 20:35:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IKZsa8056846; Thu, 18 Apr 2024 20:35:54 GMT (envelope-from git) Date: Thu, 18 Apr 2024 20:35:54 GMT Message-Id: <202404182035.43IKZsa8056846@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: 1b82d425ec0a - main - 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/main X-Git-Reftype: branch X-Git-Commit: 1b82d425ec0ac155765bcdf706040534309e9c94 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=1b82d425ec0ac155765bcdf706040534309e9c94 commit 1b82d425ec0ac155765bcdf706040534309e9c94 Author: Christos Margiolis AuthorDate: 2024-04-18 20:35:26 +0000 Commit: Christos Margiolis CommitDate: 2024-04-18 20:35:41 +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 --- 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.