coretemp(4)/amdtemp(4) and sysctl nodes
Mark Johnston
markjdb at gmail.com
Wed Dec 8 04:56:02 UTC 2010
On Wed, Dec 08, 2010 at 04:55:47AM +0100, Dag-Erling Sm??rgrav wrote:
> I can't speak for amdtemp, but if coretemp used its own context instead
> of its parent's context, it would show up as dev.coretemp.X.temperature
> instead of dev.cpu.Y.temperature, where X is not necessarily equal to Y.
Aren't the dev.cpu.X and the coretemp sysctls matched up by the use of
SYSCTL_CHILDREN(device_get_sysctl_tree(pdev))
in coretemp's sysctl definition? What does the sysctl context have to do
with identifying the parent oid?
-Mark
More information about the freebsd-hackers
mailing list