From nobody Sun Sep 29 03:58:11 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 4XGVmN0395z5YGfT; Sun, 29 Sep 2024 03:58:12 +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 4XGVmM68GZz4Zvw; Sun, 29 Sep 2024 03:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582291; 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=EqxBwf6Gotr8U7jCacmzUMwQE/U5lqGiM29/DYbV62Q=; b=rg98wg+x951unMAoSKuTqQPVRHKkXcrsiortTXPh7SI2bE65qc7/zqJrXho+FFu6TTSz5y UQWV5hyHcPADJABMD6U5WWhJhUI/V+qdci3+YtPdcrgTAIpWHVqFVkoDQBbD/f77TqaAew 8pI+Mfx5O+tBzyL+RrbN+8NidVabSlAOVOEoNxyXgT8qIkx7LOiL1EP/lDAbg7thKCCImD zCWccPbLZSQ7zBCsP14uRKy7a0XhzrZtLWCv4Fxf99RKAXDDm/0hZhGBIV3A7gYTSCGzvG 8mvxDe8XPnA7ixZusg5yNeYDqjQZTzdlA93WVwG4OvwBW68Gg7nXKP4gkXQ7iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582291; 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=EqxBwf6Gotr8U7jCacmzUMwQE/U5lqGiM29/DYbV62Q=; b=G+ncOmoxVVPZ6uzjsYuJ8ppBLcRn2s6ZN8Lsw4oL2FNTNmZuh+3ces2ftsBhZFTxRXaxeB W1W/Lnk/Hk5MiNMurTWOsW8+y2nIKCzM+y5yKwwAdwK2KLh4fC4eNhhvRUKcPivoDrnFe6 PFc9W4NL6qklEQP3hw1lH8SAYVHJsJUAv0PyFEVA0Lu5bGFEBrS9QLzP5p4q5HUJob9lg6 Z6nZ252YaIKTCVaOi1mMYBGDkmancaU7RHdBPBKmGBzZOejWMYUTqG/0wtlG9cZNtIxiwk Jb4mHTgwz8ueR/gUyFdpwHVrRE07t9TqLgxnU8P6chGsJodGG4GAPMThwYtFJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727582291; a=rsa-sha256; cv=none; b=CCfk/uXldQpSJGqvYnlHEsK2p4Th3MvHhtXHD0uYvDiBT2zRn9ILUGieyzCZLqktUfOGNb WvfpEzwoar7QOjlQAv8G6B2OEgLgSW91kgP8SBt7FXH3vo4sDgNly88MPQGqt3mZJ1WMtf P02ay5Z5pzUBYbtmS9oWditAP7GA0FjKbbbdQkpsvip4yn2xsliCm4KWoig6/qpNBj0egi xoYFuh+7k+jqCuMWq72D2OQU1UAjMZsa7MUdFmElPmEJv+ldZxjHckn0m5VWPk97QOp1F6 Us37PxJUHQfdXmVEJAuPo1Q6DdbnOiSBYmaB/jClKy9UC2ke2hdmGByB6RcfYQ== 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 4XGVmM5dvvztHF; Sun, 29 Sep 2024 03:58:11 +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 48T3wBcS062794; Sun, 29 Sep 2024 03:58:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48T3wBxK062791; Sun, 29 Sep 2024 03:58:11 GMT (envelope-from git) Date: Sun, 29 Sep 2024 03:58:11 GMT Message-Id: <202409290358.48T3wBxK062791@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 3a2190633618 - stable/13 - e1000: remove NEEDGIANT from a couple sysctls 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: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3a21906336185ca5d71744a59c0dc996f0d5d152 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=3a21906336185ca5d71744a59c0dc996f0d5d152 commit 3a21906336185ca5d71744a59c0dc996f0d5d152 Author: Kevin Bowling AuthorDate: 2024-09-22 03:52:48 +0000 Commit: Kevin Bowling CommitDate: 2024-09-29 03:57:18 +0000 e1000: remove NEEDGIANT from a couple sysctls These are internally locked already (cherry picked from commit f6e1b567921187b9331bd71c86e94cf232dd7761) --- sys/dev/e1000/if_em.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index b1883d5cc9ab..873f06cc272f 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -833,11 +833,11 @@ em_if_attach_pre(if_ctx_t ctx) child = SYSCTL_CHILDREN(device_get_sysctl_tree(dev)); SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "nvm", - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, sc, 0, + CTLTYPE_INT | CTLFLAG_RW, sc, 0, em_sysctl_nvm_info, "I", "NVM Information"); SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "fw_version", - CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_NEEDGIANT, sc, 0, + CTLTYPE_STRING | CTLFLAG_RD, sc, 0, em_sysctl_print_fw_version, "A", "Prints FW/NVM Versions");