input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
interface.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
Also update to display the (beep) properly due to the fact that the
w83791d beep enable mask is different than the alarm mask.
Patch from Sven Anders and Charles Spirakis.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4096 7894878c-1315-0410-8ee3-d5d059ff63e0
* Fix self file name reference.
* i801_setup can be marked __devinit.
* Drop useless error local variable and label in i801_setup.
* Use symbolic names for SMBHSTCFG bits.
* Transmit the error code returned by i801_setup instead of forcing it
to an arbitrary value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4061 7894878c-1315-0410-8ee3-d5d059ff63e0
Remove the PCI function number check when probing devices.
This check is redundant, each function has a separate PCI device
ID, so checking for that ID is sufficient.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4060 7894878c-1315-0410-8ee3-d5d059ff63e0
Two of the three poll loops have the poll and sleep swapped,
causing an extra sleep to occur after the polled condition is
fulfilled. In practice, this doubles the amount of sleep time for
every block transaction.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4059 7894878c-1315-0410-8ee3-d5d059ff63e0
430) and nForce4 MCP55 to the i2c-nforce2 driver. Some code changes
were required because the base I/O address registers have changed in
these versions. Standard BARs are now being used, while the original
nForce2 chips used non-standard ones. (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4054 7894878c-1315-0410-8ee3-d5d059ff63e0
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4053 7894878c-1315-0410-8ee3-d5d059ff63e0
This fixes compilation with old kernels (2.4.20 and earlier). Thanks
to Yuan Mu for reporting.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4039 7894878c-1315-0410-8ee3-d5d059ff63e0
This patch enables the reading of temp1 (Reading3) from the VT1211.
Reading3 returns the V1211's internal temperature.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3246 7894878c-1315-0410-8ee3-d5d059ff63e0
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
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