From nobody Sun Sep 22 03:53:36 2024 X-Original-To: dev-commits-src-main@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 4XBC0K0RNfz5XBQh; Sun, 22 Sep 2024 03:53:37 +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 4XBC0J6jDjz4k3J; Sun, 22 Sep 2024 03:53:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726977217; 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=OKdTf9mkHpurAoeZ0hIRfltnGky4+Bz9mrmpnYcahpg=; b=gW7gUeowBKfjtYkhRAalo+gbK9TIxSIG8Ac6837d820lpl2g96ZD7X1KeHZfObwoDlHs4Y mcHpzmFM3g4ULga9+Lbt2rbNPyuFPnLg1KdNOi2vqmVtYarB3jv0Vne5fSxYzXB/f/VNsV bTwQZmChORGazTKTLDl8T9zlWLqLvcSImcSF+eo9UJ53il8AFF0vFvuxH+nzx/KFJiuoN1 6zUno1D1+0u1R/YQKvvbFS5No7NUyJ+l74lDP1L9kt85o8Dwwm90lGWXzzPr2K2MaRHB2b ne0w3/gth94BHciqwpe8Yvc9b0mAZja7vfbxNZt8TxVUfSs5hZeUsFnniEq31A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726977217; a=rsa-sha256; cv=none; b=povr/Xgpc/Y6y5SpokKQTteZv0yHP/CY291u+fOUaM8GEQwMBBHflZqoVXsgt+xeGWmfZY m6w+V639pAzxDw4xfZ4XAyKiUlP8mw34elBnfDVoL2Y1PJ67U1fyzDrAEY2GlQrUcuxVc8 MzZK8fkpFeoE3CMQVJX78muTYxFvHShg5sgwkb/sHgFHNBzP9eXHPoN9UKqaDVVPaWjozG +LAs0U1ODOCyRj0cBkfjY5CM4pcaQKQTvzku7HQmWHExbarKenATtfYqCdZnOGoEepX+oV ObkGePbhMQZUmScynOoXC8nAa4tuXqXdYOkoZsIxA9RrBywArbeakxDbKZaD2w== 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=1726977216; 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=OKdTf9mkHpurAoeZ0hIRfltnGky4+Bz9mrmpnYcahpg=; b=KURWwm7n0CADiAQBcyEHQnMmoC/qB6uVk/sRz5OFuHicqPowa4eDDg2cZHyMENfTfnmqoH DOcHtcLKg9/gCTkDFl2+dugSoEbbZQwcm77FQUi8UY0c3wt0Ke7KFuV+53efj2ReogSPzf Gr5+Fl3t40+zm4LT0ItuIaAVnOjEVFzrXtaVYaQPNIO3LeM08H/Y97Kjrac7YymnqvKtnN WNu4RxympQLo+J2kVYH78sElcH5qguC50TU97NrL/sMe+awRVh8Nes860lqHVMh6TR8tvt jdsygDVuqKeUjgTXWos+2CoEXr2xMMwLHpkYcYDyQES80DJRoygJ0caa6yqiAg== 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 4XBC0J6CbVz11Qc; Sun, 22 Sep 2024 03:53:36 +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 48M3raPT022493; Sun, 22 Sep 2024 03:53:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48M3ra8D022490; Sun, 22 Sep 2024 03:53:36 GMT (envelope-from git) Date: Sun, 22 Sep 2024 03:53:36 GMT Message-Id: <202409220353.48M3ra8D022490@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: f6e1b5679211 - main - e1000: remove NEEDGIANT from a couple sysctls List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: f6e1b567921187b9331bd71c86e94cf232dd7761 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=f6e1b567921187b9331bd71c86e94cf232dd7761 commit f6e1b567921187b9331bd71c86e94cf232dd7761 Author: Kevin Bowling AuthorDate: 2024-09-22 03:52:48 +0000 Commit: Kevin Bowling CommitDate: 2024-09-22 03:52:48 +0000 e1000: remove NEEDGIANT from a couple sysctls These are internally locked already MFC after: 1 week --- 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");