aboutsummaryrefslogtreecommitdiff
path: root/sys/(developers-only)
diff options
context:
space:
mode:
authorAbdelkader Boudih <oss@seuros.com>2026-01-12 00:55:45 +0000
committerMark Johnston <markj@FreeBSD.org>2026-01-12 00:58:23 +0000
commit2c029cff5ba3716757646a2d2c89db49987c1e98 (patch)
treee8f02d0fd0e083c11415bc468f1913779e2d09c5 /sys/(developers-only)
parent0672e0e38a08c580f723a02bb183344d8c7cee65 (diff)
ads111x: Convert driver to CTLFLAG_MPSAFEHEADmain
Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all ADC sensor sysctls. All of the sysctl handlers are serialized by a driver mutex. Sysctls converted: - dev.ads111x.X.channelN.gain_index (PGA setting) - dev.ads111x.X.channelN.rate_index (sample rate) - dev.ads111x.X.channelN.voltage (sampled voltage) - dev.ads111x.X.config (configuration register) - dev.ads111x.X.lo_thresh (comparator low threshold) - dev.ads111x.X.hi_thresh (comparator high threshold) Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54620
Diffstat (limited to 'sys/(developers-only)')
0 files changed, 0 insertions, 0 deletions