From nobody Fri Jul 28 08:17:38 2023 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 4RC0ql1PQWz4q72T; Fri, 28 Jul 2023 08:17:39 +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 4RC0ql0yW8z3C9M; Fri, 28 Jul 2023 08:17:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690532259; 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=JSs1Tq/icdMImEvAlx2oB52nrgTP5h2iozFAQFNR1Ms=; b=Xg5FWq/huIrTtOWU+y/NsADax2bUdoRbdL2o30RoBujilcmEB3TGR4+NW2MJ5RbziL6Bwa ykILdBdfOHjnpnZlwvxb96kMXmr1dEkcQyXcr8xEYVIyK+LR/WfUlgPHrDwBCAtOasJuqX kderAGbRiPB5zspFQKnr/A9XH29NMiPYhMgdFEQZycUB0f4VwpSiHVBqLNdj77m5dddKgi 3uxlFwX3L/4T4Dd+khJI7MLhx0VMyZS5H8AzeoCWaTxPewve30KEvjxDJcmjraKS22A5JJ hLWsEvaI+nGDTlG6Pp8GM2gQYb+KJiuHhkrDgdjg/b4NVz8SH8sD/IBEcYxvzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690532259; 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=JSs1Tq/icdMImEvAlx2oB52nrgTP5h2iozFAQFNR1Ms=; b=xRZrR+yV05Nnd8DfkAhpS2Qgfq6pCjh1qjGbrNrGiXQTHjQR/s1PKnapnL+LYlc3cR0JU6 Kw1Z11NNAYBcxZ8ZNvEx8SQGFG71RDMz5Rf0tJgVSeidnQBY7XtPzgo0mHgDmrkMHTQ2HY z0NB/TDuSXzV4XAlnf5HlYikIK8066+OloTXscN+9T0ZnxMCJFhYGzZ+A6tfUQE7ldWqFw jxIEURTm1i3BPtTIP522l/8lK6t9pa4oVeDofsujKgXFThRQf/8mh+Qm0oBjU/GYUnC141 9ihSiQYUE/EdYX0Rdduq8h+VT04gRAtlr7aeCeq/3su5ml30LeBmPfwQ9f6x+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690532259; a=rsa-sha256; cv=none; b=Em/ZNiEYk4OFRVuzXoXhBGSBEfDa2LtBhJvG8hPvp+kfN5G1IfvR+gsiu8tfcOAZpIWaT1 6SQt2bghWcHyOd+E5JHv1tjJDhjjAJkKHNnLsUQdNCcTuxp/FH9ZkGFbyv3VUrbURPZ3OX reGge6G6HlHdWNCvxYcNZW0swTxydNhC0Ac1OhQ0kqPGPx6PDnlUX2cb3oIy86wuxYGZJc Le1NbSnxhE6KO/E2g9dGsHHTuB3P4PgbTGzGxleNK3pL/eANZd6In0rs/sLfHbjIp5oRNu n4SGrh9QUJcdfxYaLDxudcOPFsc4eUBMWk0lLo0v5V7bqapzQj6krq2ja1hSeQ== 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 4RC0ql02HRzkPR; Fri, 28 Jul 2023 08:17:39 +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 36S8Hc14080636; Fri, 28 Jul 2023 08:17:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36S8Hc92080635; Fri, 28 Jul 2023 08:17:38 GMT (envelope-from git) Date: Fri, 28 Jul 2023 08:17:38 GMT Message-Id: <202307280817.36S8Hc92080635@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Graham Perrin Subject: git: 542497245dca - stable/13 - hwpmc(4): instead of manual edition, use sysrc(8) 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grahamperrin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 542497245dca46237700a34aeab9e0de40fea6a6 Auto-Submitted: auto-generated The branch stable/13 has been updated by grahamperrin: URL: https://cgit.FreeBSD.org/src/commit/?id=542497245dca46237700a34aeab9e0de40fea6a6 commit 542497245dca46237700a34aeab9e0de40fea6a6 Author: Graham Perrin AuthorDate: 2023-07-08 06:24:18 +0000 Commit: Graham Perrin CommitDate: 2023-07-28 08:14:49 +0000 hwpmc(4): instead of manual edition, use sysrc(8) Exemplifying safe use of sysrc(8) has become commonplace in documentation such as the FreeBSD Handbook. Encourage its use. Consistency: 'the driver' (not 'this driver'). Co-authored-by: Mina Galić Reviewed-by: imp, Mina Galić Approved by: imp MFC after: 3 days Pull-request: https://github.com/freebsd/freebsd-src/pull/785 (cherry picked from commit 666c54d12ec941e1fa3741f28ba19223ec4d2c81) --- share/man/man4/hwpmc.4 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4 index bf9cb5e9e5e3..a15ca1451628 100644 --- a/share/man/man4/hwpmc.4 +++ b/share/man/man4/hwpmc.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 16, 2023 +.Dd July 8, 2023 .Dt HWPMC 4 .Os .Sh NAME @@ -47,14 +47,12 @@ Additionally, for i386 systems: .Cd "device apic" .Ed .Pp -To load the driver as a module at boot time, place the -following line in -.Xr rc.conf 5 : +To load the driver as a module at boot time: .Bd -literal -offset indent -kld_list="${kld_list} hwpmc" +sysrc kld_list+=hwpmc .Ed .Pp -Alternatively, to compile this driver into the kernel: +Alternatively, to compile the driver into the kernel: .Bd -ragged -offset indent .Cd "device hwpmc" .Ed