Commit Graph
2762 Commits
Author SHA1 Message Date
Jean Delvare a1ea0ca2dd Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2806 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 21:36:08 +00:00
Jean Delvare 5575ef2f5c 2.4.9 is hardly a recent kernel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2805 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 21:35:17 +00:00
Jean Delvare 0636eccd2b Drop bttv warnings, the problem is gone.
Kernel 2.4.9 is no longer supported.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2804 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 21:32:54 +00:00
Jean Delvare dfb598d267 82801CA is undefined before kernel 2.4.13.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2803 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 20:07:38 +00:00
Jean Delvare 4a41567854 Include sensors_compat.h for __devexit_p (only exists since
kernel 2.4.17).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2802 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 17:46:24 +00:00
Jean Delvare 50263be538 Define __devexit_p for kernels which don't know about it (2.4.16
and older).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2801 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 17:43:16 +00:00
Mark D. Studebaker 971dabe55e quick fixup for 2.9.0. Probably needs more work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2800 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-21 23:29:26 +00:00
Mark D. Studebaker 67027938c8 change lockfile name (forgot to check in before)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2799 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-21 23:21:51 +00:00
Jean Delvare cb64b74141 Handle both pwm files naming scheme for 2.6 kernels (ticket
#1844).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2798 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-20 22:00:10 +00:00
Jean Delvare 2003e65297 Support the nForce3 250Gb.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2797 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-18 22:09:56 +00:00
Jean Delvare c364e969ca Discard bogus error message on missing lm63 fan data.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2796 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-16 06:59:46 +00:00
Jean Delvare acdc65cd6b Increase the confidence of the Maxim MAX6657, MAX6658 and MAX6659
chips from 3 to 4 so that they won't be misdetected as MAX1617 (ticket
#1841).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2795 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-10 20:10:09 +00:00
Mark D. Studebaker 24e6a69003 remove probe printk
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2794 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-08 22:11:34 +00:00
Mark D. Studebaker 6773d8e4e0 add support for upcoming ICH7 based on information from
Jason Gaston


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2793 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-08 21:20:13 +00:00
Mark D. Studebaker b6e48cb30f add i2c block read support for ich5 and higher. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2792 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-08 04:55:45 +00:00
Mark D. Studebaker ca07a1d985 ICH6 supports PEC as well (isich4 = 1)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2791 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-08 04:20:40 +00:00
Mark D. Studebaker 6fa21cf24c it87 doc cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2790 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-07 21:24:21 +00:00
Mark D. Studebaker 93a33a9915 clarify i2c block read error message
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2789 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-07 16:11:26 +00:00
Mark D. Studebaker b92d85efbc fix lm93_read_block which was retrying even on success.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2788 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-07 15:32:19 +00:00
Jean Delvare 89508412a2 Fix W83792D detection. Add W83791SD detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2787 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-06 20:18:35 +00:00
Jean Delvare 4b0ff459ae Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2786 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-04 21:55:59 +00:00
Jean Delvare e3ff8201b2 Kernel module compatibility issues are hopefully gone.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2785 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-04 21:19:59 +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 30e56573c6 Fix typo breaking compilation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2783 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:37:27 +00:00
Jean Delvare 526ee63372 Find eeproms on non-0 i2c bus too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2782 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:33:56 +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 d6666e1b72 Support the nForce2 Ultra 400.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2780 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-29 20:39:25 +00:00
Jean Delvare fa8a7cf61b Detect the nForce2 Ultra 400 and the nForce3 Pro150 SMBus devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2779 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-29 20:24:28 +00:00
Jean Delvare 25a70755cc Sync with recent core changes: i2c_algorithm and i2c_adapter lost
their owner member.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2778 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 09:56:21 +00:00
Mark D. Studebaker 9e7e764675 rename lockfile to sensord to match filename. ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2777 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:26:59 +00:00
Mark D. Studebaker af62c8384d rename lockfile from sensors to lm_sensors; ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2776 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:24:41 +00:00
Mark D. Studebaker d83fd7e0a2 4.12 update; add Khali story about Supermicro busy-waiting in BIOS
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2775 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 03:01:01 +00:00
Mark D. Studebaker 2c4c66442c owner/use changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2774 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 02:26:50 +00:00
Mark M. Hoffman e4019c9899 Limit SMBus scanning to just one address - the only one we've
ever seen in practice.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2773 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-26 03:25:51 +00:00
Jean Delvare a223ec0fd5 Remove owner from i2c_adapter, restore inc_use and dec_use
instead.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2772 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-25 21:51:18 +00:00
Jean Delvare f7d00ae81d Set via686a voltage limits.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2771 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-25 19:40:09 +00:00
Mark M. Hoffman d57ea204c6 Name fix: lpc57b397 -> lpc47b397
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2770 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-24 04:31:40 +00:00
Mark M. Hoffman 3b64007d60 Add support for SMSC LPC57B397-NC sensor chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2769 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-23 16:20:25 +00:00
Jean Delvare 5aef60324d Simplify the configuration file opening code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2768 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 21:36:10 +00:00
Jean Delvare 2898ec26ea Use only one default configuration file (the one "make install"
will install). Display the default configuration file in "sensors --help".
Thanks go to Dave Hylands for the suggestion.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2767 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 19:26:56 +00:00
Jean Delvare 7ca0a7018d Make ETCDIR available to compiled programs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2766 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 19:19:21 +00:00
Mark D. Studebaker 8f73f9beed baseline checkin of virtual adapter code from Ken Harrenstien
<klh@google.com> received Sept. '04.
      No changes by me other than include file path fixups.
      Compiles, but will not insmod without i2c-core changes
      or stubs to add xxx_nolock() functions.

-----------------

Here you go.  I apologize for the fact this code is not integrated
into the lm_sensors package structure and thus will require you to
make various little updates.  But I really wanted to get this out
before I'm yanked away again, and am pretty sure you can do it much
faster than I can figure out what needs to be done!

BTW the kernel files are built against 2.4.x where x varies; 18 and 19
should work.

Feel free to clean up anything.

--Ken

On Sat, 18 Sep 2004, Mark Studebaker wrote:

>>> > On Tue, 7 Sep 2004, Mark Studebaker wrote:
>>
>>>> >>sure, send it over.
>>>> >>Sorry for delay, your mail got buried by other mail and just now spotted it.
>>>> >>mds
>>>> >>
>>>> >>Ken Harrenstien wrote:
>>>> >>
>>>
>>>>> >>>It turned out to be a while before I could get back to this, but
>>>>> >>>everything's been working for a while now and I'd like to send in the
>>>>> >>>new pca954x driver.
>>>>> >>>
>>>>> >>>I was looking at the list in the "new_drivers" file -- it *is* kind of
>>>>> >>>intimidating.  Since some of the changes affect core i2c files, I was
>>>>> >>>hoping that what I could do to start with is just send you a tar of
>>>>> >>>the modified files in their entirety, or a patch-diff of the changes
>>>>> >>>against the 2.8.7 distribution, so you can scope things out and verify
>>>>> >>>they're on the right track for acceptance.  The following files are
>>>>> >>>the ones I've changed so far:
>>>>> >>>
>>>>> >>>        New:
>>>>> >>>                Documentation/i2c/virtual_i2c
>>>>> >>>                drivers/i2c/i2c-virtual.c
>>>>> >>>                drivers/sensors/pca954x.c
>>>>> >>>                include/linux/i2c-virtual.h
>>>>> >>>        Patched:
>>>>> >>>                Documentation/Configure.help
>>>>> >>>                drivers/i2c/Makefile
>>>>> >>>                drivers/i2c/Config.in
>>>>> >>>                drivers/i2c/i2c-core.c
>>>>> >>>                drivers/sensors/Makefile
>>>>> >>>                drivers/sensors/Config.in
>>>>> >>>                include/linux/i2c-id.h
>>>>> >>>                include/linux/i2c.h
>>>>> >>>
>>>>> >>>
>>>>> >>>I plan to write some additional doc once I know that the code itself
>>>>> >>>is acceptable, and you then can tell me what other files need to be
>>>>> >>>updated.
>>>>> >>>
>>>>> >>>To answer a couple other issues you raised:
>>>>> >>>
>>>>> >>>On Thu, 24 Jun 2004, Mark Studebaker wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>
>>>>>> >>>>(copying the mailing list, already forwarded the first mail to the list)
>>>>>> >>>>
>>>>>> >>>>First I want to ask whether you are working on kernel 2.4 or 2.6.
>>>>
>>>>> >>>
>>>>> >>>
>>>>> >>>2.4.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>
>>>>>> >>>>Third, you may not have realized that Khali recently did a (2.4 kernel) pca9540 driver.
>>>>>> >>>>It is in our sensors package. It however doesn't do any of the bootstrapping or
>>>>>> >>>>bus registering either. It may or may not help you.
>>>>
>>>>> >>>
>>>>> >>>
>>>>> >>>I saw it in the 2.8.7 distrib, and used parts of it as a template.
>>>>> >>>The pca954x driver will support that chip, although the external /proc
>>>>> >>>interface it presents is necessarily different.
>>>>> >>>
>>>>> >>>--Ken


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2765 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 16:56:23 +00:00
Jean Delvare 1c9a5c9337 Late update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2764 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 07:59:01 +00:00
Mark D. Studebaker d7ade70215 support "linearization function" 1/x.
Modified from a patch by Peter Wilsmore <pwilsmore@asi.com.au>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2763 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 01:55:10 +00:00
Mark D. Studebaker 92cb19054e claim support for MAX6625/6626
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2762 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 00:42:07 +00:00
Mark D. Studebaker d7dca796b2 add support for 47M15x and 47M192 (fans only)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2761 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 00:09:48 +00:00
Jean Delvare eb43082cad The i2c-nforce2 driver now supports the nforce3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2760 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-16 22:09:40 +00:00
Jean Delvare 504b590bee Add nForce3 support. Patch by Thomas Leibold.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2759 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-16 18:58:26 +00:00
Jean Delvare 88bdbd2232 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2758 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 17:14:02 +00:00
Jean Delvare 4ac5ca321f Include the new i2c-amd756-s4882 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2757 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 17:05:26 +00:00