Commit Graph
5178 Commits
Author SHA1 Message Date
Jean Delvare f60a79b999 Oops, remove debug print.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5415 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 14:51:43 +00:00
Jean Delvare 9bbc5b348f Move all alias detection functions in once place and harmonize their
parameters.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5414 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 14:51:11 +00:00
Jean Delvare 829298b0c6 Comment clarification.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5413 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:57:39 +00:00
Jean Delvare 569de49970 Drop old comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5412 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:52:07 +00:00
Jean Delvare 9cc1de4bfb Comment update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5411 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:46:52 +00:00
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 df31c02156 Fix SMBus detection of early W83627EHF and W83627DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5406 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:27: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 a72bac5eb2 We now have a driver for the ADT7473.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5398 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 08:30:51 +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 783c3d91ad Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5396 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 09:04:20 +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 5b42d3f33b Only export the ceil function from POSIX. By default, POSIX exports
everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5389 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 20:19:26 +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 b060841ac1 Missing comma in comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5386 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:20:09 +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 3099c88f7e Fix detection of ADT7462.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5384 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-17 21:50:32 +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 15c06bed80 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5382 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:37:21 +00:00
Jean Delvare 745219e9be The LM99 offset is now handled in the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5381 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:36:59 +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 51a621be43 Add support for current sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5379 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-24 09:04:26 +00:00
Jean Delvare d766935c47 Add support for instantaneous power sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5378 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-24 09:03:18 +00:00
Jean Delvare d67849d4c5 Add SMBus support for Intel PCH (Ibex Peak). Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5375 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-24 08:24:12 +00:00
Jean Delvare 8ce18bcaf0 Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5374 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 20:13:11 +00:00
Jean Delvare 05128d1666 Drop dead links to old National Semiconductor chip datasheets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5373 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 19:33:14 +00:00
Jean Delvare f89d47e4f2 Use inline functions instead of macros. Macros evaluating their
arguments more than once are evil. Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5372 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 19:24:54 +00:00
Jean Delvare a8acdd0d88 The LM78 detection is relatively weak, and sometimes recent Winbond
chips can be misdetected as an LM78. We have had repeated reports of
this happening. (Backport from Linux 2.6.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5371 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 16:25:11 +00:00
Jean Delvare 8e413501da Degrade the "Unsupported chip" message from info to debug level.
There's nothing wrong with this, so no need to bother the user.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5370 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 15:29:13 +00:00
Jean Delvare 85ac078383 Update lm90 datasheet links. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5369 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 14:46:57 +00:00
Jean Delvare c374f6237c Add support for the VIA VX800/VX820 SMBus. Backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5368 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 14:16:51 +00:00
Jean Delvare 0e97b89004 Fix detection of Intel 5000 series FB-DIMM AMB.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5367 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 12:55:02 +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 e42b57bf03 Drop "label temp#_crit" statements. Since version 3.0.0, sensors no
longer display a separate label for the critical temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5365 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-20 11:42:12 +00:00
Jean Delvare 3efa6bf239 Add support for lm89, max6681, max6658, max6659, max6646, max6647 and
max6649 prefixes. The lm90 driver doesn't instantiate such devices on
auto-detection as they are undistinguishable from other supported types,
but such devices can still be instantiated explicitly since kernel
2.6.27, and supporting them is cheap.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5364 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-20 08:18:39 +00:00
Jean Delvare a36de90a61 Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the
Linux 2.6 kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5362 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-19 09:50:16 +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 5337690525 Add VIA VX800/VX820 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5359 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-14 16:15:30 +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 91f7d80bd0 Map IT8720F to it87 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5357 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-08 06:30:46 +00:00
Jean Delvare 46723bb4e3 Add user-space support for the IT8720F (handled exactly the same as
the IT8718F.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5356 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-07 20:52:01 +00:00