aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-12-10 02:16:16 +0000
committerAlexander Motin <mav@FreeBSD.org>2021-12-10 02:16:16 +0000
commit35efbedc98539fa655c3fb8df146fb6f7784df57 (patch)
tree9c4cb27532ff4ad9febfe6b92a19cb66f9cab1b4 /sys
parentfdec27ed82ea3f6406a7089e5e1ffd99bb4929e0 (diff)
downloadsrc-35efbedc98539fa655c3fb8df146fb6f7784df57.tar.gz
src-35efbedc98539fa655c3fb8df146fb6f7784df57.zip
fxp: Mark sysctls with CTLFLAG_MPSAFE.
MFC after: 2 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fxp/if_fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 6def42343804..a5cd909408d7 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -3149,11 +3149,11 @@ fxp_sysctl_node(struct fxp_softc *sc)
child = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->dev));
SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "int_delay",
- CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT,
+ CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
&sc->tunable_int_delay, 0, sysctl_hw_fxp_int_delay, "I",
"FXP driver receive interrupt microcode bundling delay");
SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "bundle_max",
- CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT,
+ CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
&sc->tunable_bundle_max, 0, sysctl_hw_fxp_bundle_max, "I",
"FXP driver receive interrupt microcode bundle size limit");
SYSCTL_ADD_INT(ctx, child,OID_AUTO, "rnr", CTLFLAG_RD, &sc->rnr, 0,