From nobody Thu May 09 19:08:46 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 4Vb1l31wk3z5KJwH; Thu, 09 May 2024 19:08:47 +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 4Vb1l266nsz4g9c; Thu, 9 May 2024 19:08:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715281726; 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=zKhYha5y2bfLG/cKLGrq+pFrzRzvD4qiuIN9fGSC/bs=; b=sos5K+NFP8MijqASZEU6ktQlsb1rGI4i3PFK7qolCvJ/SG16OfPMoGs0QYtvg6EQq5bFJu zTwN4/Dt0/kcLnFAUndFkxH2CnchoArd77WfIJJ/AwudznZyWBPSYgnRHoi+qb6J0k4p4w tc1QYTIIMlk5xiVnCm1C5wOpId5ij7U1Oc/rMTHLhBu5Nb/thj5Abjd31CcH1mSBM8N4Ru 1UhlKFX1YKGs0V/1i88g6ALPwBgg0VInebjhTe4ZE9gDITUi1XbwARGRJc3rQpq4OXSOxf JSCEt/XwwWhJF4Fh5AbKCDmEGMe3DN3S/K/byqPif1gXlbwSqk9M5hIC9s3BdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715281726; a=rsa-sha256; cv=none; b=p1w0Mt/bXSxSkokZkwHN+bqkQX36RqMfCQ9eXo0uJlT9yZT4QZO6Qzr5osOyRJ5K9gAvs4 UpmMxeviWJy2tu7Ujch8Q7nck6mPFngVVZghvGsQ6SniBLRDyhvuB0KTf+6ZgXL6qk2BDg sPrf9oV2vJDfj58Tor5C/kXIRbpmwzr9I3wmiW+MYsWuqwea1/TYJYiYVFW5z3edCBz1Gc 8ZuLyo/gn5xefBi9GYaQaj7VdFAlQRhJOWjmqBrfYNSjY2okourfEiwHpLOdVZfgJnFEiS Zkf89TsjydnLYSECxlDXH7WSjyvPmw9JcRxFbUPnrRugBofsQrDWBdu4DYqeIQ== 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=1715281726; 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=zKhYha5y2bfLG/cKLGrq+pFrzRzvD4qiuIN9fGSC/bs=; b=lpHJKxrpzMjQhylxslbKuA3iF/2QibgYhMbk9JLtRUV8JI5xA2VweZnUWephDp5oVh2Z+U jZVPQ3+Dh+Ws6A7LGAgmLJs1M51FMOzXp5//HCjaZOfM78zuk2dtc5EYZnmY1CwyjGqAPW 9ooC/2LJtna+3y0C8yyeUn+ew5k1OgTVLwOOnTxmPok+9MC8n2R5j1T9BAxtSs8Q/bsW2w 2puet2u9sNn4r+bGKYYoF65tXC1b6+ZdlAuhrVSvVJjseRzzc8sJZYeCcG7RRWeHXXRPFn A6E0FzhYqgLgBCGGbSQoyMUYLavG3ovZN0XnksqR5Mke854U3TpII8mXx5i7sw== 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 4Vb1l25kvWz1KWg; Thu, 9 May 2024 19:08:46 +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 449J8k9F025819; Thu, 9 May 2024 19:08:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 449J8kNA025816; Thu, 9 May 2024 19:08:46 GMT (envelope-from git) Date: Thu, 9 May 2024 19:08:46 GMT Message-Id: <202405091908.449J8kNA025816@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: 24d5cc14dd60 - main - sound: Rename oss_audioinfo->real_device to oss_audioinfo->legacy_device 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: 24d5cc14dd60b49553ff3ee7830305621f782ff1 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=24d5cc14dd60b49553ff3ee7830305621f782ff1 commit 24d5cc14dd60b49553ff3ee7830305621f782ff1 Author: Christos Margiolis AuthorDate: 2024-05-09 19:08:17 +0000 Commit: Christos Margiolis CommitDate: 2024-05-09 19:08:34 +0000 sound: Rename oss_audioinfo->real_device to oss_audioinfo->legacy_device The OSS manual now documents this field as "legacy_device". Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45138 --- sys/dev/sound/pcm/dsp.c | 4 ++-- sys/sys/soundcard.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index fe816db54697..6e5fad048d40 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -2224,9 +2224,9 @@ dsp_oss_audioinfo(struct cdev *i_dev, oss_audioinfo *ai) ai->mixer_dev = (d->mixer_dev != NULL) ? unit : -1; /** * @note - * @c real_device - OSSv4 docs: "Obsolete." + * @c legacy_device - OSSv4 docs: "Obsolete." */ - ai->real_device = -1; + ai->legacy_device = -1; snprintf(ai->devnode, sizeof(ai->devnode), "/dev/dsp%d", unit); ai->enabled = device_is_attached(d->dev) ? 1 : 0; /** diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 64f57742a52b..b5434b930215 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -1878,7 +1878,7 @@ typedef struct oss_audioinfo int card_number; int port_number; int mixer_dev; - int real_device; /* Obsolete field. Replaced by devnode */ + int legacy_device; /* Obsolete field. Replaced by devnode */ int enabled; /* 1=enabled, 0=device not ready at this moment */ int flags; /* For internal use only - no practical