Porting OpenBSD's sysctl hw.sensors framework to FreeBSD
Robert Watson
rwatson at FreeBSD.org
Tue Jul 10 23:41:44 UTC 2007
On Tue, 10 Jul 2007, Poul-Henning Kamp wrote:
> Physical measurements are only relevant in the context of their physical
> location and the OpenBSD enumeration doesn't even encode this, it is only
> interested in the logical location of the sensor, what kind of bus it is on,
> what kind of address it has.
>
> For any hw-sensor namespace to make sense, it must, as a minimum, identify
> the sensors in terms of the device(-drivers) associated with the hardware
> where the sensor senses, not the device-driver of the sensor itself.
>
> The OpenBSD stuff is a 1980 style hack, and should not be propagated.
This argument would be more convincing if accompanied by a concrete example,
fabricated or otherwise. Are you suggesting, for example, adding newbus
sensor methods associated with existing driver attachments?
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the freebsd-arch
mailing list