summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/ad7417.c
Commit message (Collapse)AuthorAgeFilesLines
* Do the ADC init only at startup and not during every sensor read call.andreast2012-08-191-5/+12
| | | | This reduces the number of interrupts.
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.ed2011-11-071-1/+1
| | | | This means that their use is restricted to a single C file.
* - Improve error handling.andreast2011-06-081-43/+127
| | | | | | | | - Add retry loops in the i2c read/write functions. - Combied the ADC channel selection and readout of the value into one iicbus_transfer to avoid possible races. Reviewed by: nwhitehorn
* Update the I2C-based temperature/fan drivers to connect to the Powermacnwhitehorn2011-05-291-41/+121
| | | | | thermal control module. This provides automatic fan management on all G5 PowerMacs and Xserves.
* Add a new driver, the ad7417, to read temperatures and voltages on someandreast2011-05-291-0/+457
PowerMac's. Approved by: nwhitehorn (mentor)
OpenPOWER on IntegriCloud