Commit Graph
807 Commits
Author SHA1 Message Date
Jean Delvare f67324f3be New FSC Hermes chip driver, contributed by Reinhard Nissl
<rnissl@gmx.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2029 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 21:14:26 +00:00
Mark D. Studebaker 39faf50b41 add support for CSB6 based on confirmation in ticket #1424
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Jean Delvare 8b82c4d22d Fix W83627HF detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2025 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-25 18:53:48 +00:00
Mark M. Hoffman 6597650205 Trivial formatting fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2024 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 04:40:49 +00:00
Mark D. Studebaker f38dc972e0 several bmcsensors fixes:
- fix voltage scaling
	- swap voltage limits
	- use lower critical rather than upper hysteresis
	  for non-temperature sensors
	- increase libsensors support to 20 voltage, 10 fan,
	  10 temperature sensors
	Tickets 1406 and 1407.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2017 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-13 03:01:45 +00:00
Alexander Malysh b1986134c3 (amalysh)
* i2c-sis630.c: sync with 2.6.0-X driver version


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2014 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 11:45:04 +00:00
Jean Delvare bf055191f1 Cosmetic fixes backported from Linux 2.6.0-test6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2010 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-04 19:48:12 +00:00
Jean Delvare 787a1efef1 Get rid of EEPROM memory types, they were unused. This is a
backport from Linux 2.6 (sort of).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1997 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-24 21:05:40 +00:00
Mark M. Hoffman 76c05536bf Use readl/writel for portable access to PCI memory
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1996 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-22 04:55:10 +00:00
Mark D. Studebaker 3f571f8d46 (mds)
From:
         Kalev Soikonen <sokos@starman.ee>

  Hi.

I am using lm_sensors in a slightly patched form.
The motherboard is Intel D845BGL, which features
SMSC LPC47M142 LPC Bus I/O controller.

If you look at the 47m10x and 47m14x datasheets,
you'll notice they have different Device ID's
(the former has 0x59, the latter 0x5F). As far
as the fan monitoring is concerned, they are
pretty much identical.

The 47M142 will be recognized with only some
trivial modifications to the code. I've attached
diffs for lm_sensors-2.7.0 and lm_sensors-2.8.0.


Best regards,

Kalev Soikonen


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1993 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 20:57:38 +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
Mark D. Studebaker 15490f82f5 fix up error returns; from 2.5 patch of MMH
* Greg KH <greg@kroah.com> [2003-06-02 10:20:40 -0700]:

> On Sun, Jun 01, 2003 at 10:38:08AM -0400, Mark M. Hoffman wrote:
> > > This patch against 2.5.70 works for me vs. an SMBus adapter.  It needs
> > re-testing against an ISA adapter since my particular chip is SMBus only.
>
> I've applied this and will send it off to Linus in a bit.


Thanks!

This patch fixes the various return values in the w83781d_detect()
error paths.  It also cleans up some formatting here and there.
It should be applied on top of the previous one.

It works for me; same caveat as above w.r.t. ISA.

Regards,

--
Mark M. Hoffman
mhoffman@lightlink.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1990 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 22:31:56 +00:00
Mark D. Studebaker 67047df36e add max6650
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1989 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 21:49:50 +00:00
John Morris 45576fb3fd (jrm): New driver and other support for the Maxim MAX6650 and MAX6651 chips.
Mainly targetted (and tested) with the 6651, but should work with
       the MAX6550.

       See doc/chips/max6650 for notes, bugs, assumptions, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1987 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 20:45:12 +00:00
Mark D. Studebaker 9e27af12f5 make w83627thf a separate type, enhance support
(remove in5, in6; add pwm3)
      fix some printks


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1985 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 18:11:13 +00:00
Mark D. Studebaker 969cfd1f8d general cleanup. Fix 697HF PWM. Fix 697HF VBAT and V5SB alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1984 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:39:09 +00:00
Mark D. Studebaker 6815e0bafe Fix 697HF PWM (ticket 1207). Fix 791D PWM.
Fix 697HF V5SB and VBAT alarms.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1983 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:38:33 +00:00
Mark D. Studebaker 103344795a add xeontemp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1978 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:11:02 +00:00
Jean Delvare bc34ae1749 Divide the eeproms into slices to speed reads up.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1970 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:20:31 +00:00
Jean Delvare 52df8b5abf Use capable() to protect Vaio's passwords and other security-
related data.
        Simplify the sysctl callback function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1967 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-16 12:05:36 +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 bb89ea05e3 Force CPCI735 bug workaround (patch by Tom Rini).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1961 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:28:42 +00:00
Jean Delvare 0d4d71d5c8 Add support for the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1960 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:10:32 +00:00
Jean Delvare 7f475406ad Pointless changes (white spaces etc.).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1959 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:09:25 +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
Jean Delvare c3aa6202ca Support T_CRIT and status registers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1952 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:17:43 +00:00
Jean Delvare da916a854b Ignore Sony Vaio EEPROMs with a password set (override
with force parameter).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1949 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 14:18:13 +00:00
Mark M. Hoffman 3629850def When changing fan divisor(s), save and restore fan minimum(s).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1941 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 04:37:12 +00:00
Mark M. Hoffman 69ef356b2c Prevent buffer overrun during SMBus Block Read when client responds
(mmh) with illegal read size.  Patch by Sergey Vlasov <vsu@altlinux.ru>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1940 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 03:11:40 +00:00
Mark M. Hoffman 9791b06ae5 Fixes backported from 2.6 work by Greg KH:
(mmh) o remove devinitdata marking from i2c-nforce2.c as it's wrong
(mmh) o minor cleanups to the i2c-nforce2 driver


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1938 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:32:01 +00:00
Mark M. Hoffman 5b720a247d Fixed resource leak - patch by Daniele Bellucci <bellucda@tiscali.it>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1937 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:19:49 +00:00
Mark M. Hoffman e035136982 Added utility function i2c_delay(1), to replace various "do_pause"
(mmh) functions in bus drivers.  Backported from the 2.6 work of Greg KH.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1936 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:11:58 +00:00
Jean Delvare 24e6a6352d Major update of the ddcmon driver.
Add half a dozen new features.
        Add checksum parameter (same as for the eeprom module)
        Fix monitor limits


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1934 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-01 17:42:08 +00:00
Jean Delvare 7c3528bebb Trivial and pointless code optimization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1933 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-01 16:14:56 +00:00
Jean Delvare e4f94587c8 Remove 2.2 kernel compatibility macro.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1931 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-31 12:56:35 +00:00
Jean Delvare e61dd02edd Enhance chip detection (stricter).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1928 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-31 07:21:15 +00:00
Alexander Malysh bb6298c2f2 added block data read/write support. Minor cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1926 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 22:35:17 +00:00
Alexander Malysh 1843d33fb7 Fixed sis630 detection. We need ISA brigde and not the pci device
supplied by pci-core. Tickets #1350 and #1351 should be closed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1925 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 20:40:27 +00:00
Jean Delvare bf9db8425c Major driver update
Update header comments, copyright and authors
        Add support for Philips NE1619
        Simplify the driver a lot (unified voltages, unified
        temperatures and much more)
        Fix default voltage limits
        Change default temperature limits
        Remove the adm1025_read_value and adm1025_write_value
        wrappers (direct calls instead)
		Swap remote and local temperatures to match the internal
        registers order (make the code unification possible)
        Export remote diode fault through alarms


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1919 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-29 10:55:14 +00:00
Jean Delvare f7b40f84b3 Fix includes for compilation on Alpha.
Patch by Kelledin.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1912 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-28 09:57:11 +00:00
Jean Delvare a0e0fb4146 SAA1064 driver, written by Sascha Volkenandt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1900 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-22 15:36:49 +00:00
Jean Delvare aa354f3e4e Add support for the saa1064 module.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1899 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-22 15:34:33 +00:00
Mark M. Hoffman 8598dba3b6 Revise detection strategy (again) so that the driver claims the
SMBus pci device only - instead of also claiming the south bridge.
      Although no problems had been reported with the previous detection
      strategy, this change avoids the class of problems mentioned here:

      http://archives.andrew.net.au/lm-sensors/msg03193.html

As a side benefit, it now looks much more like its sibling in 2.5.7x.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1893 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-21 23:13:08 +00:00
Jean Delvare 5002b36dd9 Use a single /proc callback function for all four temps.
Delete i2c read and write wrappers, they were useless.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1890 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-21 09:15:19 +00:00
Jean Delvare 5151325f0a Fix voltage rounding.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1882 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-16 07:42:23 +00:00
Jean Delvare 9df5d79b40 One more fake comment to keep the documentation generator happy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1868 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 11:37:04 +00:00
Jean Delvare c1ccd04c45 Fix temps and high limits being swapped.
Fix high limits not being updated.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1863 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 08:31:54 +00:00
Mark D. Studebaker 1fa79086db emc6d100 patch from P.P.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1859 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 01:56:24 +00:00
Jean Delvare a2b82dc6f5 Add missing include.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1853 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-04 09:08:03 +00:00
Jean Delvare 0c11d8eeed Added fake comments to prevent the documentation generator
from crashing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1850 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-04 08:41:28 +00:00