#
1.21 |
|
06-Apr-2022 |
naddy |
constify struct cfattach
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.20 |
|
10-Nov-2008 |
cnst |
uninitialised value caused some lmenv(4) fans to never appear sometimes; the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.19 |
|
24-Jun-2007 |
dlg |
rework sensor tasks to use the kernels generic workq rather than a special kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too.
noone tested, so its going in to force people to run with it. "put it in" deraadt@
|
#
1.18 |
|
22-Mar-2007 |
deraadt |
split userland & kernel struct sensor/sensordev so that the addition of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.17 |
|
23-Dec-2006 |
deraadt |
adapt to new two-level sensor api; Constantine A. Murenin
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
09-Apr-2006 |
deraadt |
slightly nicer sensor names
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.15 |
|
19-Jan-2006 |
grange |
Replace SENSOR_ADD() macro with a pair of functions sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly.
ok kettenis@ deraadt@ dlg@
|
#
1.14 |
|
31-Dec-2005 |
deraadt |
spacing
|
#
1.13 |
|
27-Dec-2005 |
deraadt |
interrupt clearing applies to lm87 class too (not just lm81 class)
|
#
1.12 |
|
27-Dec-2005 |
deraadt |
if the device is busy trying to deliver an interrupt, it will stall on scanning. at startup, that is dumb. clear the interrupt bit. now i get 40 sensors on the alpha... crazy
|
#
1.11 |
|
27-Dec-2005 |
deraadt |
on lm81 and clones, reflag external sensor as invalid every time through
|
#
1.10 |
|
27-Dec-2005 |
deraadt |
match about 15 more clone chips
|
#
1.9 |
|
27-Dec-2005 |
deraadt |
if we write to the START bit, splat out a message
|
#
1.8 |
|
26-Dec-2005 |
deraadt |
if start is already set, avoid setting it again
|
#
1.7 |
|
16-Nov-2005 |
kettenis |
Fix typo.
|
#
1.6 |
|
15-Nov-2005 |
deraadt |
read the channel register, hopefully initialized by some rom (Yes, Apple does in their rom, but not in their kernel code). This tells us if the 2 AIN/FAN pins are wired as AIN or FAN (G4 xserve fans, G5 xserve more voltage readings..); ok kettenis
|
#
1.5 |
|
15-Nov-2005 |
deraadt |
temperature readings of 0x80 mean "diode not connected", i think; kettenis ok
|
#
1.4 |
|
15-Nov-2005 |
kettenis |
Start monitoring operations such that values actually change. ok deraadt@
|
#
1.3 |
|
15-Nov-2005 |
deraadt |
avoid integer overflow in fan speed calculations, from kettenis also, if things appear majorly wonky, mark sensors invalid
|
#
1.2 |
|
15-Nov-2005 |
deraadt |
instead of passing OF nodes down to the drivers, pass name/compat string pointers. This lets their match() functions actually make real decisions. OF-capable machines will pass name/compat pointers, but other machines will not. grudging ok kettenis
|
#
1.1 |
|
15-Nov-2005 |
deraadt |
move lm87 to dev/i2c; ok kettenis
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.20 |
|
10-Nov-2008 |
cnst |
uninitialised value caused some lmenv(4) fans to never appear sometimes; the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.19 |
|
24-Jun-2007 |
dlg |
rework sensor tasks to use the kernels generic workq rather than a special kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too.
noone tested, so its going in to force people to run with it. "put it in" deraadt@
|
#
1.18 |
|
22-Mar-2007 |
deraadt |
split userland & kernel struct sensor/sensordev so that the addition of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.17 |
|
23-Dec-2006 |
deraadt |
adapt to new two-level sensor api; Constantine A. Murenin
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
09-Apr-2006 |
deraadt |
slightly nicer sensor names
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.15 |
|
19-Jan-2006 |
grange |
Replace SENSOR_ADD() macro with a pair of functions sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly.
ok kettenis@ deraadt@ dlg@
|
#
1.14 |
|
31-Dec-2005 |
deraadt |
spacing
|
#
1.13 |
|
27-Dec-2005 |
deraadt |
interrupt clearing applies to lm87 class too (not just lm81 class)
|
#
1.12 |
|
27-Dec-2005 |
deraadt |
if the device is busy trying to deliver an interrupt, it will stall on scanning. at startup, that is dumb. clear the interrupt bit. now i get 40 sensors on the alpha... crazy
|
#
1.11 |
|
27-Dec-2005 |
deraadt |
on lm81 and clones, reflag external sensor as invalid every time through
|
#
1.10 |
|
27-Dec-2005 |
deraadt |
match about 15 more clone chips
|
#
1.9 |
|
27-Dec-2005 |
deraadt |
if we write to the START bit, splat out a message
|
#
1.8 |
|
26-Dec-2005 |
deraadt |
if start is already set, avoid setting it again
|
#
1.7 |
|
16-Nov-2005 |
kettenis |
Fix typo.
|
#
1.6 |
|
15-Nov-2005 |
deraadt |
read the channel register, hopefully initialized by some rom (Yes, Apple does in their rom, but not in their kernel code). This tells us if the 2 AIN/FAN pins are wired as AIN or FAN (G4 xserve fans, G5 xserve more voltage readings..); ok kettenis
|
#
1.5 |
|
15-Nov-2005 |
deraadt |
temperature readings of 0x80 mean "diode not connected", i think; kettenis ok
|
#
1.4 |
|
15-Nov-2005 |
kettenis |
Start monitoring operations such that values actually change. ok deraadt@
|
#
1.3 |
|
15-Nov-2005 |
deraadt |
avoid integer overflow in fan speed calculations, from kettenis also, if things appear majorly wonky, mark sensors invalid
|
#
1.2 |
|
15-Nov-2005 |
deraadt |
instead of passing OF nodes down to the drivers, pass name/compat string pointers. This lets their match() functions actually make real decisions. OF-capable machines will pass name/compat pointers, but other machines will not. grudging ok kettenis
|
#
1.1 |
|
15-Nov-2005 |
deraadt |
move lm87 to dev/i2c; ok kettenis
|