Fix coretemp(4) to provide temperatures from all cores (instead of reading
authorHasso Tepper <hasso@dragonflybsd.org>
Tue, 2 Sep 2008 18:12:48 +0000 (18:12 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Tue, 2 Sep 2008 18:12:48 +0000 (18:12 +0000)
commitd7ef97d3577b06d573448c32ba41f0078cb49686
treeb3ad17401a365a044cf304d91890c162a517c83e
parenta2a274f40071aaa937673720f79c2056944fc9bc
Fix coretemp(4) to provide temperatures from all cores (instead of reading
temperature only from the core current thread runs on).

Also use CPU device unit number as cpu identifier, not the one from coretemp
device (it doesn't matter in practice though, but still ...).
sys/dev/powermng/coretemp/coretemp.c