History log of /openbsd-current/sys/dev/i2c/ad741x.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.15 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_4_4_BASE 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.14 17-Apr-2008 deraadt

make it more apparent that when we are dealing with 16 bit registers
(not a series of 8 bit registers), the bytes come off the wire in
big-endian order


Revision tags: OPENBSD_4_3_BASE
# 1.13 20-Oct-2007 cnst

_check prototypes are no longer used (replaced by i2c_scan.c); ok deraadt@


Revision tags: OPENBSD_4_2_BASE
# 1.12 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.11 09-Apr-2007 kettenis

Remove unused prototype.


# 1.10 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.9 23-Dec-2006 deraadt

adapt to new two-level sensor api; Constantine A. Murenin


Revision tags: OPENBSD_4_0_BASE
# 1.8 10-Apr-2006 deraadt

make this match our code standards


Revision tags: OPENBSD_3_9_BASE
# 1.7 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.6 31-Dec-2005 deraadt

spacing


# 1.5 28-Dec-2005 deraadt

ad7417 much like ad7418


# 1.4 27-Dec-2005 deraadt

no longer use ia_compat; tested by a few


# 1.3 28-Nov-2005 deraadt

attempt to cope with the other versions of the chips
try not to scan all the sensors every pass through, but do a
few registers each time
still not reading correct data on one machine i have, but this
might be because apple did not connect them up. who knows, when
they build machines with 50+ sensors..


# 1.2 15-Nov-2005 deraadt

differentiate the older chip without the 4 adc


# 1.1 15-Nov-2005 deraadt

simple driver for the Analog Devices AD7417/7418 (does not cope right
with 7416 without ADC yet)


Revision tags: OPENBSD_4_4_BASE 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.14 17-Apr-2008 deraadt

make it more apparent that when we are dealing with 16 bit registers
(not a series of 8 bit registers), the bytes come off the wire in
big-endian order


Revision tags: OPENBSD_4_3_BASE
# 1.13 20-Oct-2007 cnst

_check prototypes are no longer used (replaced by i2c_scan.c); ok deraadt@


Revision tags: OPENBSD_4_2_BASE
# 1.12 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.11 09-Apr-2007 kettenis

Remove unused prototype.


# 1.10 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.9 23-Dec-2006 deraadt

adapt to new two-level sensor api; Constantine A. Murenin


Revision tags: OPENBSD_4_0_BASE
# 1.8 10-Apr-2006 deraadt

make this match our code standards


Revision tags: OPENBSD_3_9_BASE
# 1.7 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.6 31-Dec-2005 deraadt

spacing


# 1.5 28-Dec-2005 deraadt

ad7417 much like ad7418


# 1.4 27-Dec-2005 deraadt

no longer use ia_compat; tested by a few


# 1.3 28-Nov-2005 deraadt

attempt to cope with the other versions of the chips
try not to scan all the sensors every pass through, but do a
few registers each time
still not reading correct data on one machine i have, but this
might be because apple did not connect them up. who knows, when
they build machines with 50+ sensors..


# 1.2 15-Nov-2005 deraadt

differentiate the older chip without the 4 adc


# 1.1 15-Nov-2005 deraadt

simple driver for the Analog Devices AD7417/7418 (does not cope right
with 7416 without ADC yet)