summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/ds1631.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If writing the control register fails, bail out without attaching any sensors.kettenis2016-05-121-1/+5
| | | | | From Marcus Glocker, who has an Apple G5 machine where an advertised sensor isn't there, and plodding on creates annoying dmesg spam.
* Mark sensor as invalid if the i2c transaction to read its value fails.kettenis2009-08-121-2/+5
| | | | ok deraadt@
* make it more apparent that when we are dealing with 16 bit registersderaadt2008-04-171-3/+4
| | | | | (not a series of 8 bit registers), the bytes come off the wire in big-endian order
* rework sensor tasks to use the kernels generic workq rather than a specialdlg2007-06-241-2/+2
| | | | | | | | | 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@
* split userland & kernel struct sensor/sensordev so that the additionderaadt2007-03-221-3/+3
| | | | | | 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
* adapt to new two-level sensor api; Constantine A. Mureninderaadt2006-12-231-6/+7
|
* make this match our code standardsderaadt2006-04-101-2/+2
|
* Replace SENSOR_ADD() macro with a pair of functionsgrange2006-01-191-2/+2
| | | | | | | sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@
* handle all 3 types of chips correctly. go into continuous mode, andderaadt2006-01-131-2/+41
| | | | | | | start the chips right (two kinds of start sequences). then get the temperature readings correctly, including negative temperatures. done with grange. pity the poor russian with only the lowest of the low end i2c chips
* ds1624 and ds1721 too, horrid horrid horrid chipsderaadt2006-01-131-2/+4
|
* no longer use ia_compat; tested by a fewderaadt2005-12-271-7/+4
|
* driver for maxim ds1631, might work, might not!deraadt2005-11-161-0/+111