aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2024-09-22 03:52:48 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-09-22 03:52:48 +0000
commitf6e1b567921187b9331bd71c86e94cf232dd7761 (patch)
treefbd5768fa448ddfe897cebc6dddc0e85cab9a53f
parent0ca553d761e5832ad6ff6fab0a3b896c8fe9d813 (diff)
downloadsrc-f6e1b5679211.tar.gz
src-f6e1b5679211.zip
e1000: remove NEEDGIANT from a couple sysctls
These are internally locked already MFC after: 1 week
-rw-r--r--sys/dev/e1000/if_em.c4
1 files 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");