summaryrefslogtreecommitdiffstats
path: root/sys/dev/k8temp
Commit message (Collapse)AuthorAgeFilesLines
* Check the return value of config_intrhook_establish().rpaulo2008-11-291-1/+5
| | | | | Found with: Coverity Prevent(tm) CID: 2115
* Fix the sysctl function parameters. We were only querying Sensor 0.rpaulo2008-09-031-2/+2
| | | | | Noticed by: des MFC after: 3 days
* Fix comment: s/before/after.rpaulo2008-07-061-1/+1
|
* Add a missing call to config_intrhook_establish().rpaulo2008-07-051-0/+1
|
* Use config_intrhook API to create the dev.cpu.N.temperature sysctl node.rpaulo2008-07-051-20/+42
| | | | | | | | Our hook creates the sysctl node before root is mounted, but after cpu is probed. It seems that k8temp can be loaded before the cpu module and, in those cases, dev.cpu.0.temperature was not created. PR: 124939
* Actually, don't rely on the unsafe MAX() macro. Use imax() as providedrpaulo2008-05-141-2/+2
| | | | | | | in the PR patch. Pointed out by: bde PR: 123542
* Don't use libkern's max() function as that's for unsigned numbers only.rpaulo2008-05-111-2/+2
| | | | | | | | | | Instead use the worldwide known MAX() function. This should fix problems with negative values showing up on dev.cpu.%d.temperature. This is slightly different from the fix in the PR. Submitted by: KOIE Hidetaka <hide at koie.org> PR: 123542
* Kill $P4$ id.rpaulo2008-04-211-2/+0
| | | | Noticed by: rwatson
* MFp4: k8temp, a driver to monitor AMD K8 CPU temperature via builtinrpaulo2008-04-121-0/+317
sensors. Based on the Linux driver by the same name. Tested by: many (see freebsd-amd64)
OpenPOWER on IntegriCloud