Commit Graph
25 Commits
Author SHA1 Message Date
Jean Delvare d7521f982b Spelling fix: explicitly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4348 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-18 09:45:21 +00:00
Jean Delvare 245b7171b3 Backport from Linux 2.6:
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
2005-11-05 20:47:45 +00:00
Jean Delvare 785cd3eda3 Coding style and printk fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3180 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 19:45:58 +00:00
Jean Delvare 2b5f162d40 Backport from Linux 2.6:
Preparatory patch to add PEC support to the lm90 driver. We need a
centralized function to read register values, where the PEC code will
be later inserted. A positive side effect is that read errors are now
handled properly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3179 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 19:18:44 +00:00
Jean Delvare 6d94d22cd6 Support the ADM1032-2 and ADT7461-2, which have address 0x4d.
Backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3161 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 15:24:39 +00:00
Jean Delvare fcc01c5c83 Spelling fixes. Contributed by Steven Cole.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2994 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-10 18:43:48 +00:00
Jean Delvare 4d165ff285 Backport ADT7461 support from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2954 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 13:34:47 +00:00
Jean Delvare 1756f8d8dd Drop unused client id.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2867 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-23 18:02:43 +00:00
Jean Delvare 987686721c Fix MAX6657, MAX6658 and MAX6659 detection (backport from Linux
2.6).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2816 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-29 11:00:18 +00:00
Jean Delvare 7683ac84a4 Restore controlling_mod argument to i2c_register_entry(). This
is needed to properly lock chip drivers in memory while anyone uses their
/proc entries. This also brings back compatibility with the 2.4 Linux
kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2784 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-04 21:18:34 +00:00
Jean Delvare e9d2eaef30 Discard owner field from i2c_driver structure. I do not restore
inc_use/dec_use because they are not actually used anywhere.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2781 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:32:17 +00:00
Jean Delvare a8379104e0 Use signed types for temperatures.
Check limits on register writes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2724 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-11 20:36:45 +00:00
Jean Delvare 34f6be661f Alarms fit on u8.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2723 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-11 18:17:22 +00:00
Jean Delvare d282a5f3be Add LM86, MAX6657 and MAX6658 support to the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2633 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 19:12:18 +00:00
Jean Delvare 635b1b06bc Support the LM99 (and LM89).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2471 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:48 +00:00
Jean Delvare 239b3d0344 Backport memory allocation reworking from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2445 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 17:20:01 +00:00
Jean Delvare c74c4df722 Define driver ID if i2c-id.h doesn't have it yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2298 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-20 21:28:03 +00:00
Jean Delvare bf8d5f1305 Change the way the lm90 driver handles hysteresis. Now similar
to the 2.6 version of the driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2210 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 21:26:54 +00:00
Jean Delvare 1a665e49ed Misc cleanups inspired from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2192 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-29 19:26:17 +00:00
Mark D. Studebaker 41190cc718 remove initialization of limits by driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2069 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:24:50 +00:00
Jean Delvare dfe2ecd683 Fix detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2043 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-05 21:39:58 +00:00
Jean Delvare 9413c3153f Add support for the ADM1032.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2039 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-02 19:37:45 +00:00
Jean Delvare 93a260e714 Fix init bug (was causing the chipset to stop). Reported by
Ljubomir Bozic Jr..


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1992 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 20:55:59 +00:00
Jean Delvare 500e783461 Fix missing parenthesis (DEBUG=1).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1966 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-16 10:26:12 +00:00
Jean Delvare f135d97c28 New LM90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1958 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:08:41 +00:00