From nobody Sun Sep 29 03:56: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 4XGVkl18rWz5YGYq; Sun, 29 Sep 2024 03:56: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XGVkl0Bfxz4YQl; Sun, 29 Sep 2024 03:56:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582207; 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=WDFPPW2V0jkjADqSwInMZ7GtVrStSptZeW7IFXeQe0E=; b=tiNCtEiQFHfYO9Nr/b52IMuW1MXGoT88KVfaoEtQIHBjgYbqQVXK3HfAm366TfFkuExrgS /wd+nZTsb+lwWFJiPuVVdEcST7snRsmfxYAqFsSyp0dyOX4yEiGX36xpHdYGhI1Tn0MOs4 1W/VDx3AvsHurWI0ZnxF+360opr1dY4/dE20F7pYoqUoUZO4SqnGf9QTMdSsmzgx4qFlr5 9Jgwa4ayrBZ0z2E4fPcf3Z9sHbazs0QGweFa7EwI6saTC8wqoX6maFTYrg6Q6R9Z6GUSuo 5kKK8nSdgzSeiM5or0MMdfIyhEWsT2FeWPb/aO81tuDRIPilX+lRpT4wyjJ4dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727582207; 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=WDFPPW2V0jkjADqSwInMZ7GtVrStSptZeW7IFXeQe0E=; b=SgZnE9rzfXKEqch0mCbzVCLSOJtnQ/BNGm8pRDn4m7L0zb/KzQ7AIWuQpGqxh7W7brc19G xRItljd3gFm1Gp/jHTlEOD9R7rPWZefJftW9uxH2/oisLxhVoekC4JG4OJ2/vqElAh10VW km7JIGo/ZZ9RhVc1GIenaBUoO7FX1YPIgMsFLbfDS6NoooRrxmlrqXHiA8K/YJ92HobB22 f7UdX0pmOurZkAa5YrjVK641p0hZAXqMgQ/Vwhvw2iOCkcfY3JfUaOa8iUVaC0NMjH9lOI CUvgV/46pOtI4VEKifPrZDsJhkvCXtdjA4JDtWyMiWvxehUkNFQE/fNJXmsz4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727582207; a=rsa-sha256; cv=none; b=svzvcpvxdtlllPQ1PVVit+XdX6BV6KsH3Hpkhc/FEBh7XeBT4UY0FQKtzwyQiYLPD23KzA xMe7NHJ3ivkklNnAkqTGkwnay9jn8BrhNQEQBUFwx6JwR30DamTK+ZCzTw5T8t6n4XNPcz MxC7JZRFh3cyMHoZQSpQ6981usAgyqVnhOessB8+Q33vFR/cQyBL3K+T75v4HT+PwO54FI pKNaIfrLkpZ0psPJXYwfnLAtJ1gQB65xROoCN0VNXU1TZ1prfm5aIyFiC89wAgjyGbmc0d hWnk9aF/aacs4cKbbJIbFqylLqV8JP6/C85YUytI8kZLDn5XdTHtMZZkEiQb0Q== 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 4XGVkk6tmSztJQ; Sun, 29 Sep 2024 03:56:46 +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 48T3ukso062317; Sun, 29 Sep 2024 03:56:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48T3ukhG062314; Sun, 29 Sep 2024 03:56:46 GMT (envelope-from git) Date: Sun, 29 Sep 2024 03:56:46 GMT Message-Id: <202409290356.48T3ukhG062314@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: 1dd49c09eff5 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 1dd49c09eff52bf088a966b2002e0a127211eeba Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=1dd49c09eff52bf088a966b2002e0a127211eeba commit 1dd49c09eff52bf088a966b2002e0a127211eeba Author: Kevin Bowling AuthorDate: 2024-09-22 03:52:48 +0000 Commit: Kevin Bowling CommitDate: 2024-09-29 03:56:34 +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 3d815348f5ec..768522a821bd 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -831,11 +831,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");