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
Jean Delvare
0fe25e0317
Remove link to 3dhardware.net (the site doesn't exist anymore).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1995 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-16 21:05:38 +00:00
Mark D. Studebaker
833a8615ba
add detection for smsc 47m14x
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1994 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 21:05:52 +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
Jean Delvare
2b503c995c
Improve ADM1032 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1991 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-08 17:38:23 +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
Mark D. Studebaker
633df4cb0b
add separate 627thf support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1988 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 21:39:15 +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
ebb1dc9a20
updates
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1986 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 18:13:38 +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
Jean Delvare
da334c10bc
Tell people to contact us for to-be-written drivers.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1982 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:58:02 +00:00
Jean Delvare
dfd8c9035c
Add detection for LM90 clones (ADM1032, MAX6657, MAX6658).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1981 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:53:29 +00:00
Jean Delvare
f24d73e83b
Clarified the conversion policy after John Morris' question.
...
Original text by Mark M. Hoffman.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1980 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 08:33:48 +00:00
Mark D. Studebaker
96045bea38
Add separate error returns and messages for read and write errors.
...
Add missing message for "general parse error" - a nasty bug.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1979 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:28:26 +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
Mark D. Studebaker
2d6fb09db0
remove old sensors.h info
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1977 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:06:14 +00:00
Mark D. Studebaker
63d87246ef
updates
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1976 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 15:18:59 +00:00
Mark D. Studebaker
b1f28efcd3
Fix SMP compilation.
...
Re: Intel 82801DA ICH4
* To: "Alexander Pohl" <alexander.pohl@xxxxxxxxxxxx>
* Subject: Re: Intel 82801DA ICH4
* From: Jean Delvare <khali@xxxxxxxxxxxx>
* Date: Tue, 22 Jul 2003 23:42:06 +0200
* Cc: sensors@xxxxxxxxxxxxxxxxxxxx
* In-reply-to: <32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE >
* References: <32803.62.246.166.13.1058892758.squirrel@mailbox.TU-Berlin.DE ><20030722191127.7b077828.khali@linux-fr.org ><32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE >
* Reply-to: sensors@xxxxxxxxxxxxxxxxxxxx
> I have some trouble compiling the module p4b_smbus.o and adding
> support for the i2c-bus. Adding support for pci-hotplug to my kernel
> was successful.
> (reference to ticket # 1345)
>
> Here the compiler output:
>
> cc -D__SMP__ -DMODVERSIONS -include
> /lib/modules/2.4.20-hotplug/build/include/linux/modversions.h
> -D__KERNEL__-DMODULE -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer-fno-strict-aliasing
> -I/lib/modules/2.4.20-hotplug/build/include -c -o p4b_smbus.o
> p4b_smbus.c p4b_smbus.c: In function `cleanup_module':
> p4b_smbus.c:263: incompatible type for argument 1 of `write_lock'
> p4b_smbus.c:268: invalid type argument of `->'
> make: *** [p4b_smbus.o] Error 1
Strange. I can compile it. I suspect the code isn't SMP-compliant. Try
forcing SMP=0 in Makefile.p4b, just to make sure this is the cause of
the failure. Once confirmed, Mark D. Studebaker will take a look at it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1975 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 15:16:23 +00:00
Mark D. Studebaker
fe368024cf
remove COMPILE_KERNEL; was previously replaced by 'make user'
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1974 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 14:51:17 +00:00
Jean Delvare
d99a492966
Fix data block length (128 bytes instead of 256).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1973 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 13:22:22 +00:00
Jean Delvare
8a11762641
Add CUV266-DLS as an example of third temp2 formula for as99127f.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1972 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:56:31 +00:00
Jean Delvare
16881b62e7
Introduce EDID registers (makes use of the eeprom speed
...
improvements).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1971 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:21:59 +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
9614076742
Update known systems list.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1969 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:19:34 +00:00
Jean Delvare
7cddef8cb2
Add details about the mailing-list.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1968 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 17:29:58 +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
46c0a4650e
Documentation update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1965 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 19:10:48 +00:00
Jean Delvare
489fee2e2d
All a lm90-* section.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1964 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 17:29:17 +00:00
Jean Delvare
236c01efd8
Updates.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1963 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 10:35:55 +00:00
Jean Delvare
a54d86f8f4
Fix LM90 prints.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1962 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 09:23:48 +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
c8bd7bb1e6
LM83 updates.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1957 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-13 20:17:58 +00:00
Jean Delvare
d7880c5f77
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1956 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-13 20:17:38 +00:00
Jean Delvare
08e0c2ad5d
Update rrdtool URI.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1955 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-11 08:47:15 +00:00
Jean Delvare
597e5fb59a
Add tcrit and alarms support to lm83.
...
New print_temp_info mode (CRIT, for high+crit).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1954 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:21:32 +00:00
Jean Delvare
122e8d43a3
Add tcrit and alarms support to lm83.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1953 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:18: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
39daf5f1e6
Big update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1951 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 18:46:17 +00:00
Jean Delvare
ee6d023d6f
Change Sony Vaio EEPROMs detection procedure. This should
...
prevent EEPROMs with a password set from being randomly
detected as regular memory chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1950 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 14:19:31 +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
Jean Delvare
6f26bed8ce
Add default labels for as99127f temp1 and temp2. Mention the
...
fact that the A7N8X Deluxe rev.2 has them swapped.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1948 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 09:47:39 +00:00