Jean Delvare
a6706d680a
Update an obsolete comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5410 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:34:30 +00:00
Jean Delvare
4814ce52c3
Drop old SiS I2C adapter entries. If anyone really wanted to write a
...
driver for these chips, it would already be done by now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5409 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:31:58 +00:00
Jean Delvare
b5df304f5d
Add a separate look-up table to figure out an I2C adapter's driver
...
based on the adapters description in sysfs. This is more efficient to
have one entry per driver than one per device as we did so far.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5408 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:24:00 +00:00
Jean Delvare
0b86f4e187
Get I2C adapter driver names from sysfs. The old method (matching against
...
regexp for known I2C adapters) is still used as a fallback, as early 2.6
kernels don't support the new method, and some drivers (i2c-viapro for
example) do not bind to their device so the new method doesn't work for
them.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5407 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 12:42:00 +00:00
Jean Delvare
a1db385f3c
Fix SMBus detection of early W83627EHF chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5405 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:24:50 +00:00
Jean Delvare
963ca0992c
Fix device->driver lookup name. What we are really interested in is the
...
name of the kernel module, not the name of the driver. This went unnoticed
so far because almost all hwmon drivers have a driver name equal to the
module name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5404 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:16:45 +00:00
Rudolf Marek
973789e9e6
Fix the CHIPID for W83627DHG.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5403 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 14:27:22 +00:00
Jean Delvare
a0ddf07aad
Handle special case chips more efficiently. Instead of listing every
...
chip twice with just the driver field differing, we put the chip entry
in the main list directly and resolve the driver field at run-time.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5402 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 18:04:50 +00:00
Jean Delvare
5cd00e8a72
Merge all FSC detection functions into a single function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5401 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 17:28:30 +00:00
Jean Delvare
f70ea56585
Merge LM87 and ADM1024 detection in a single function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5400 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 16:05:13 +00:00
Jean Delvare
4de44481ae
Drop support for Linux 2.4.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5399 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 15:52:52 +00:00
Jean Delvare
a048d7a22a
We now have a driver for the ADT7473.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5397 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 20:26:43 +00:00
Jean Delvare
992ab93b71
Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5395 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 08:52:40 +00:00
Jean Delvare
f62a62abaa
Drop old comments.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5387 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:23:00 +00:00
Jean Delvare
1533724750
Missing comma in comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5385 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:19:40 +00:00
Jean Delvare
7dc02997d0
Fix detection of ADT7462.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5383 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-17 21:35:50 +00:00
Jean Delvare
2bf52892a9
The PC8374L looks like an LM96000 on the SMBus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5380 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:33:05 +00:00
Jean Delvare
7aa5cb5871
Fix detection of Intel 5000 series FB-DIMM AMB.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5366 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 12:50:32 +00:00
Jean Delvare
fb5bbd86f1
Add VIA VX800/VX820 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5360 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-14 16:40:08 +00:00
Jean Delvare
e4df67dd27
Map IT8720F to it87 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5358 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-08 06:32:53 +00:00
Jean Delvare
00193652cd
Fix detection of ADT7463 and LM96000.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5352 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-02 11:42:47 +00:00
Jean Delvare
f1c80ef5aa
Add MAX1618 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5337 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-19 15:05:28 +00:00
Jean Delvare
8827e4bac6
W83627DHG has no subclients.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5332 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:24:46 +00:00
Jean Delvare
6cf8b4be86
Prevent misdetection of W83627DHG (and more generally, Winbond chips)
...
on I2C as LM78.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5331 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:22:06 +00:00
Jean Delvare
fa119667ec
Fix typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5315 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:03:52 +00:00
Jean Delvare
eedc452efa
An updated TMP411 datasheet actually shows that this chip has different
...
device IDs than the TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5314 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:02:22 +00:00
Jean Delvare
6068029628
The TI TMP411 has the same device ID as the TMP401.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5312 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 11:27:43 +00:00
Jean Delvare
4e1862cfa7
The Maxim MAX6646, MAX6647 and MAX6649 will be supported by the lm90
...
driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5310 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-19 15:33:44 +00:00
Jean Delvare
790bd11ca3
Add ITE IT8720 detection. No datasheet available yet.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5308 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-09 12:52:05 +00:00
Jean Delvare
744a5d0178
Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
...
Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5303 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 18:25:46 +00:00
Jean Delvare
a03f51bbcb
Add Maxim MAX6646, MAX6647 and MAX6649 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5300 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-07 11:21:15 +00:00
Jean Delvare
c57566e85b
We have a driver for the Winbond W83L786NR/NG/R/G now.
...
Closes ticket #2336 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5290 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:38:33 +00:00
Jean Delvare
45c012f52c
Add VIA C7 detection. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5288 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:29:19 +00:00
Jean Delvare
4a79587695
Fix Analog Devices ADT7461 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5282 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-15 08:42:14 +00:00
Jean Delvare
04b9a162b9
Add Texas Instruments THMC51 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5281 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-11 14:09:15 +00:00
Jean Delvare
d4358492e7
Lower confidence of the mtp008 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5279 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 11:27:04 +00:00
Jean Delvare
16d97a6f01
Fix Andigilog aSC7621 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5276 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 10:19:13 +00:00
Jean Delvare
83c47f9a5e
Merge several alias detection functions.
...
Drop unused parameter of vt1211_alias_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5275 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 21:14:07 +00:00
Jean Delvare
79fa83d534
Slightly improve alias detection of W83627EHF and W83627DHG.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5274 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 20:49:30 +00:00
Jean Delvare
e165317220
Drop redundant test in vt1211_alias_detect.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5273 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 18:32:03 +00:00
Jean Delvare
34881b958e
Add Maxim MAX6654/MAX6690 detection.
...
Add National Semiconductor LM95231 detection.
Add Analog Devices ADT7481 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5270 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 12:36:57 +00:00
Jean Delvare
aa79effd61
Have a common function for LM78-like ISA access, so that we no longer have
...
to define it again each time we need it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5269 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:52:16 +00:00
Jean Delvare
1546409b03
Delete two unused functions.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5268 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:34:46 +00:00
Jean Delvare
ba80846842
More coding style cleanups. This time, most of them are to make function
...
calls look like function calls, but there are also a couple whitespace
fixes and needless parentheses removed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5267 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:32:41 +00:00
Jean Delvare
337f390279
Cache the byte data reads. As we keep reading the same registers over
...
and over again in the detection functions, and SMBus can be slow,
caching results in a big performance boost. This closes ticket #2326 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5266 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 07:26:11 +00:00
Jean Delvare
0463566da7
Improve MAX6657, MAX6658, MAX6659 detection.
...
Adjust the confidence value of ADM1032, MAX6680/MAX6681 and TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5264 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-25 10:07:25 +00:00
Jean Delvare
bc735d6619
Coding style fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5262 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-24 06:56:33 +00:00
Jean Delvare
a00447d1ce
Identify the lm85-compatible chips individually. The previous method was
...
vendor-based, so we couldn't tell the user what exact device they had,
and the broad device ID mask could lead to false positives.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5261 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-23 10:22:30 +00:00
Jean Delvare
18ed2e1022
Mass coding-style cleanups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5260 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-22 12:01:33 +00:00
Jean Delvare
c2852cba57
Add Intel SCH (bus) support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5258 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-21 08:15:48 +00:00