Commit Graph
908 Commits
Author SHA1 Message Date
Jean Delvare 2cdac4e54a The pc87360 driver now support the PC87365 and PC87366 as well,
and can write to registers. Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2427 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:41:30 +00:00
Jean Delvare af741a7b4d Move IBM detection into dmi_scan.c.
Delete dmi_scan.h, now useless.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2423 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:36:19 +00:00
Jean Delvare 1a7c4d2eed Also support the PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2420 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:59:38 +00:00
Jean Delvare 6589dbb3d2 Rename pc87360-fan driver to pc87360.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2419 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:30:54 +00:00
Jean Delvare 26d763bb48 Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2418 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:27:50 +00:00
Mark D. Studebaker b81fc46380 add 655 support
patch from Ken Healy <k.healy@student.ucc.ie>

This patch experimentally enables SiS 655 support by the i2c-sis645 driver.

It simply modifies the driver to also accept the SiS 655 as a valid host
bridge.

Partially tested on a Gigabyte GA-SINXP1394 (SiS655/963), no problems so far.
Driver successfully enables the SMBus controller, i2cdetect finds the usual
devices, and i2cdump successfully reads the DIMM SPD eeprom's.

The patch is against the lm_sensors-2.8.5 release.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2415 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-06 02:01:09 +00:00
Jean Delvare 092aae7ffe Fix bogus memset (similar to a recent fix to the eeprom driver).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2410 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-04 07:16:30 +00:00
Jean Delvare 3307085b6b Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2405 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-01 05:48:18 +00:00
Jean Delvare 18d6d587cc Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2403 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 18:58:05 +00:00
Jean Delvare 32b628a4fa Fix bogus memset. Reported by Ralf Roesch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2401 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-29 17:25:15 +00:00
Jean Delvare 46867ff39c Backport a few fixes from 2.6:
* remove two unused structure members
* remove needless kind checks (only one kind)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2397 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 12:00:42 +00:00
Jean Delvare 835d3937dd Backport misdetection prevention patch from 2.6:
* Use unused bits of two more registers (configuration and conversion
rate) to reduce misdetections.

* Return with -ENODEV if the detection fails.

* Change the order in which we try to identify the chips. We better
finish with the LM84 and the MAX1617, in this order, because they are
harder to identify and are more likely to result in false positives.

* Refine LM84 detection. The LM84 has less features than the other chips
(chip cannot be stopped, conversion rate cannot be set, no low limits)
so it has extra unused bits.

* Do not intialize the chip if it was detected as an LM84. This one
cannot be stopped so why would we try to start it again? And as said
right before, conversion rate isn't changeable either.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2395 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 16:12:20 +00:00
Jean Delvare 57d7f9c0ef Do not initialize more bits than needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2391 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-25 19:05:40 +00:00
Jean Delvare baee14b641 Drop out-of-date comment about semi-static allocation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2386 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 17:28:36 +00:00
Jean Delvare eac40915b6 Add pca9540.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2370 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:25:57 +00:00
Jean Delvare 12805aeb7c New driver for the PCA9540 (used on the Gigabyte GA-7DPXDW+).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2366 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:21:07 +00:00
Jean Delvare 2c157316dc Support the LPC47B27x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2363 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 17:51:52 +00:00
Jean Delvare 50b5b87d23 Backport cleanups from Linux 2.6. Mostly whitespace changes, and
a few simplifications.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2362 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-18 20:49:39 +00:00
Jean Delvare c44b1691cc Check for capabilities before using them. Reported by Aurelien
Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2360 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-16 19:28:40 +00:00
Jean Delvare 83bf546473 Define min_t if needed (ticket #1504).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2352 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 09:24:54 +00:00
Jean Delvare da21eeb652 Add ID in case i2c-id.h doesn't have it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2349 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 20:39:15 +00:00
Mark D. Studebaker 96d4fcced7 #ifndef driverid
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2336 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:23:35 +00:00
Mark D. Studebaker a30f070533 correct driver ID
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2334 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:13:39 +00:00
Mark D. Studebaker 7b6c302155 increase max SDRs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2333 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:10:55 +00:00
Mark D. Studebaker 520da35172 fix comment
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2319 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:34:08 +00:00
Jean Delvare 6b2f1e18bb Backport Takeru Komoriya's changes from Linux 2.6. This fixes
loading it87 with reset=1.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2316 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 15:46:46 +00:00
Jean Delvare 03f3e08d48 w83781d driver doesn't support ASB100 anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2313 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-23 20:25:27 +00:00
Jean Delvare e6d99aedb0 Consider it possible that sensor type is 0 (unused).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2311 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 17:48:16 +00:00
Mark D. Studebaker 154c50fa86 don't export unused in6 and temp1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2304 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 04:09:15 +00:00
Jean Delvare f7b2534fba Preserve other bits when forcing temp2/3 to comparator mode.
Backported from Linux 2.6. Requested by Keith Duthie.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2302 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 14:10:31 +00:00
Jean Delvare 60ad1861de Backport oops fix from Linux 2.6 (freeing nonexistent resource
on module unload if the hardware isn't present).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2300 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 07:38:43 +00:00
Jean Delvare 8422454e8e Fix i2c bus not being unregistered on module unload.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2299 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-20 21:32:18 +00:00
Jean Delvare c74c4df722 Define driver ID if i2c-id.h doesn't have it yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2298 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-20 21:28:03 +00:00
Mark M. Hoffman 3f40046ac3 Revised bad cut-n-paste comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2295 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-18 04:57:18 +00:00
Jean Delvare 175d652425 Don't register driver to avoid driver conflicts. (Daniel
Rune Jensen)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2294 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-15 15:09:00 +00:00
Jean Delvare 2409ee71bf Add support for the W83637HF.
Update the docs accordingly.
        Rename PWM registers so that it is clearer which chip uses them.
        Remove outdated comments.
        Fix the name in the w83627hf_driver structure.
        Fix reserved register and PWM bits being written to on the W83627THF.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2290 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-13 18:15:32 +00:00
Jean Delvare 8591ddc174 Fix bitmask in uch_config read and write.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2287 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 21:55:34 +00:00
Jean Delvare 1fe75068d1 Do not include unneeded headers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2286 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 21:46:36 +00:00
Jean Delvare 1a10f1995f Get rid of useless headers.
Remove useless second argument of IN_FROM_REG.
        Misc cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2284 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 18:50:24 +00:00
Jean Delvare 5007ebb449 Rename fscher fan_min to pwn (which it really is). (Reinhard
Nissl)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2280 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 21:10:19 +00:00
Jean Delvare 613a28e42f Fix typo (hundredths not hundreds).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2258 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-01 14:19:46 +00:00
Jean Delvare f0fc7dfc5f Move FSC Hermes voltage conversions to sensors.conf. (Reinhard
Nissl)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2257 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-01 13:20:41 +00:00
Jean Delvare e2420aea18 Remove use of temporary ID.
Defined addresses as a range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2249 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-27 20:34:33 +00:00
Mark M. Hoffman c0d34c332e Backport of patch vs 2.6.1...
This patch fixes a "Trying to release non-existent resource" error that
occurs during rmmod when the device isn't actually present.  It includes
some other cleanups too: error paths, whitespace, magic numbers, __devinit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2248 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-27 02:47:35 +00:00
Jean Delvare d6294776d4 Separate prefix for NE1619.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2243 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-25 17:26:22 +00:00
Mark D. Studebaker c1ee53baa0 fix reservations being cancelled. Ticket 1515 and many others.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2239 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-22 01:05:49 +00:00
Jean Delvare 99cb8b0992 Unimportant changes brought back from my recent co-port of the
driver to Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2238 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-21 18:51:25 +00:00
Jean Delvare 1da4a32706 Remove memtype completely.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2222 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 11:14:00 +00:00
Mark D. Studebaker b5c0ec5d74 fix /proc magnitudes; convert temp from Kelvin to C
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2215 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-12 05:21:17 +00:00
Mark D. Studebaker e9d296adf3 fix detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2214 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-11 23:54:27 +00:00