functions being called before their actual definition. Thanks to Greg
Kroah-Hartman for the report.
Also, drop an unused lock.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3225 7894878c-1315-0410-8ee3-d5d059ff63e0
explicitly before each transaction. Backport from Linux 2.6, original
patch from Mark M. Hoffman.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3221 7894878c-1315-0410-8ee3-d5d059ff63e0
nobody uses this anymore. At any rate, there's little point in including
version 1 information in the version 2 FAQ. Set FAQ version to 2.18.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3216 7894878c-1315-0410-8ee3-d5d059ff63e0
on globals. The resulting code is slightly more compact too (both source
and compiled binary).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3213 7894878c-1315-0410-8ee3-d5d059ff63e0
from Linux 2.6:
* Fan inputs 4, 5, 6 and 7 can be disabled.
* Simplify voltage reading code.
* Simplify and inline w83792d_{read,write}_value.
* Drop unused lock.
* Make needlessly global functions static.
* Fix the bug where tolerance 2 and tolerance 3 can not be set.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3209 7894878c-1315-0410-8ee3-d5d059ff63e0
* Do not scale +3.3V by default, most boards don't need it.
* Add alternate +5V compute line for some Gigabyte boards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3201 7894878c-1315-0410-8ee3-d5d059ff63e0
"(...) I found what I think is a bug in the it87_fan_div setting code.
(...) What was happening was that the check to make sure the third fan's
divisor was either 2 or 8 was using the wrong member of the it87 data
structure. This was causing the if to never fail and thus always force
the divisor to 2."
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3200 7894878c-1315-0410-8ee3-d5d059ff63e0
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3194 7894878c-1315-0410-8ee3-d5d059ff63e0
VRM for all drivers. Same was done it Linux 2.6 some times ago.
Also comment out all "set vrm" lines in sensors.conf.eg, as Linux 2.6
now accurately deduces the VRM from the CPU model.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3190 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop link to dead config files database.
* Add personal collections subsection, with a link to my own collection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3188 7894878c-1315-0410-8ee3-d5d059ff63e0
* Fix in4 reading on W83627THF and W83637HF.
* Use the right registers for alarms.
* Preserve fan min when setting fan div.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3184 7894878c-1315-0410-8ee3-d5d059ff63e0
Add PEC support to the lm90 driver. Only the ADM1032 chip supports it,
and in a rather tricky way, which is why this patch comes with
documentation reinforcements. At least, this demonstrates that the new
PEC support logic in i2c-core can properly deal with chips with partial
PEC support.
As enabling PEC causes a significant performance drop, it can be
disabled through a procfs file (unsurprisingly named "pec").
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3181 7894878c-1315-0410-8ee3-d5d059ff63e0