Mark M. Hoffman
5f25412789
Add support for SiS655/SiS96x I2C bus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2417 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 01:18:42 +00:00
Mark M. Hoffman
dbf8948a78
Added custom detection for some SiS chipsets. This resolves a long-
...
standing false detection problem. Other changes in support of this custom
detection:
1) Changed pci_list to a hash, with keys of the form "1039:0016"
2) Added @kernel_version detection and comparison routine (thanks Khali)
3) Removed legacy sub: read_proc_pci
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2358 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 04:23:54 +00:00
Mark M. Hoffman
c4ca60614b
Fix pattern match for sis645
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2354 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 17:57:15 +00:00
Mark M. Hoffman
71a96916d5
Patch by Philipp Thomas <pth@suse.de>:
...
> Current gcc versions warn when type punning is used, as this breaks the
> strict aliasing analysis gcc 3.3 does by default. When checking the causes
> for these warnings I discovered that sensors_malloc_array,
> sensors_free_array, sensors_add_array_el and sensors_add_array_els in
> lib/general.c all take a 'void **' for the list. This is plain wrong as
> the C standard only allow 'char *' and 'void *' to alias any other type, so
> if these functions should take a generic pointer, it *must* be a 'void *'
> that's internally cast to a 'void **'.
>
> The attached patch does this and adapts all places where these functions are
> called. Note that when done correctly, no cast what-so-ever in the calling
> code is needed.
>
> The patch is against current lm_sensors2 cvs version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2345 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 04:39:50 +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
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
Mark M. Hoffman
144d461b27
Undo earlier temp. magnitude workarounds for w83781d vs. kernel 2.6.
...
The workarounds were obviated by Khali's patch which was merged
into Linus' tree at 2.6.1-bk6. Tested here on w83781d - would
appreciate testing on the other w83's...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2237 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-21 03:42:07 +00:00
Mark M. Hoffman
701ad1fbdd
Add a pointer in case of broken BIOS.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2217 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-14 06:21:44 +00:00
Mark M. Hoffman
dec7339518
Add proper sensors support for asb100.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2216 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-14 06:11:08 +00:00
Mark M. Hoffman
f854a231b2
Add asb100 to lists of special (subclient) cases for kernel 2.6. This
...
stops short of full "support" for sensors, for now. I.e. all the
info is displayed, it's just not as pretty.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2206 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-06 05:19:25 +00:00
Mark M. Hoffman
8c07545569
Change all temp_over to temp_max; similar to 2.6 port. Note that this
...
is purely cosmetic and internal to the driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2205 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-06 05:14:40 +00:00
Mark M. Hoffman
9e096e8ccf
Update TODOs.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2203 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-05 03:52:23 +00:00
Mark M. Hoffman
f77ae36f6d
Updates for ASB100: remove "beeps" and other cleanups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2202 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-05 03:50:26 +00:00
Mark M. Hoffman
6d20996616
Added missing lm75.h
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2186 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-18 05:24:55 +00:00
Mark M. Hoffman
5096e006d5
Added section for ASB100 vs. Asus P4S333.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2154 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-11 05:09:40 +00:00
Mark M. Hoffman
e8c33a6575
Fix comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2152 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 05:36:24 +00:00
Mark M. Hoffman
a5a21a98c8
Added VID support for w83627thf. Technically it's not supported by the
...
chip, but we'll guess that GPIO5 are used for this purpose. It's
correct for (at least) Asus P4C800-E, and if it's wrong for any
others then we're no worse off. Also, switch to using common LM75
conversion functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2151 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 05:35:11 +00:00
Mark M. Hoffman
c177ea5d8e
Updated for ASB100
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2148 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-09 06:17:04 +00:00
Mark M. Hoffman
87738febe9
Use lm75.h temp to/from reg conversions.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2135 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-03 06:06:22 +00:00
Mark M. Hoffman
6a9a7ff0eb
(mmh) Pulled the TEMP_TO_REG and TEMP_FROM_REG functions into a separate
...
header and gave them the prefix LM75_. Also rewrote them according
to the lm75 datasheet. The next step is to replace all the various
scattered (broken?) copies of these functions (especially in Winbond
subclients) with this one.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2130 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-02 05:53:27 +00:00
Mark M. Hoffman
c00cd7ae4f
Added links to GKrellM and smartmontools.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2077 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 05:34:19 +00:00
Mark M. Hoffman
849d140dbb
Fixed minor typo in table-driven do_a_print() that was preventing
...
auto-printing of unknown chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2073 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 04:46:54 +00:00
Mark M. Hoffman
bbbf8fa851
Added support for pwm1, which works (apparently) on ASB100-A only.
...
Thanks to "Vitaly V. Bursov" <vitalyb@mail333.com > for this info.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2056 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-15 06:43:51 +00:00
Mark M. Hoffman
e93f810917
make it quit earlier if missing $(LINUX)/.config; also add note for
...
users of stock RedHat kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2051 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-11 07:11:02 +00:00
Mark M. Hoffman
ca4b268555
First shot at independent driver for ASB100 "Bach"
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2036 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-29 05:37:52 +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 M. Hoffman
3f9fc00906
Fix for w83627thf - should show all of its features now.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2023 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 04:39:52 +00:00
Mark M. Hoffman
aa42ce8ce7
Add some missing glue for w83627thf support in libsensors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2020 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-22 02:07:30 +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 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
Mark M. Hoffman
c68be0a605
Updated i2c-sis645 notes for 2.8.0 (oops, too late) and 2.8.1
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1894 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-22 00:43:39 +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
Mark M. Hoffman
43f48c1789
use tab instead of spaces before depmod command
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1835 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-03 02:04:19 +00:00
Mark M. Hoffman
35c08c894e
Added missing PCI ID for 746. Also added comments noting in
...
(mmh) which release (> 2.4.9) the IDs were defined, if any.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1804 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 17:01:59 +00:00
Mark M. Hoffman
f016bf233d
Added a handful of blacklist PCI IDs.
...
(mmh) Fixed a trivial compiler warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1795 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-18 05:26:38 +00:00
Mark M. Hoffman
139114401d
Added recognition of SiS746 host bridge.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1794 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-17 05:30:31 +00:00
Mark M. Hoffman
d78cd69dd7
Added recognition of SiS746 host bridge.
...
(mmh) Addressed some trivial compiler warnings.
(mmh) Updated documentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1793 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-17 05:17:02 +00:00
Mark M. Hoffman
f525a97656
added missing #include <linux/mm.h>
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1786 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-12 03:29:38 +00:00
Mark M. Hoffman
142689feb3
Fix trivial compile errors when using DEBUG := 1
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1757 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-04 04:56:51 +00:00
Mark M. Hoffman
3d54042d27
Added support for SiS745 north bridge.
...
Patch and testing by Rudolf Marek
(mmh) Also added missing declaration for SiS963 support - my bad.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1752 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 22:22:16 +00:00
Mark M. Hoffman
ec909108b7
Added support for SiS963 south bridge.
...
Testing by Brad Barnett
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1751 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 21:33:32 +00:00
Mark M. Hoffman
caf6b6140e
Added support for SiS651 north bridge.
...
Patches and testing by Chris King and Norbert Roos
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1750 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 20:23:13 +00:00
Mark M. Hoffman
f5360dc279
(Re)added missing <ioport.h>.
...
Now compiles correctly w/ versioned symbols.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1709 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-31 04:00:33 +00:00
Mark M. Hoffman
d2e650b473
Removed some redundant pci_find_device calls.
...
Cleaned up kernel log messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1704 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 04:53:16 +00:00
Mark M. Hoffman
d876a79328
Added support for SiS648/961 and SiS645DX/962.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1701 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-20 06:07:11 +00:00
Mark M. Hoffman
8a1cb244f2
Added support for SiS648/961 and SiS645DX/962.
...
Added IDs to PCI driver id table.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1700 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-20 06:05:39 +00:00
Mark M. Hoffman
62578497a3
Bugfix - now killing a transaction properly.
...
(found by Hans-Günter Lütke Uphues)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1554 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 07:17:02 +00:00
Mark M. Hoffman
2b203cd20b
Added SiS650 support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1553 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 01:45:16 +00:00
Mark M. Hoffman
df1f4dfd67
Added support for SiS650/961 chipset.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1552 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 01:33:36 +00:00
Mark M. Hoffman
7a638103b4
mentioned improvements to i2c-sis645 module
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1534 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:19:54 +00:00
Mark M. Hoffman
09059c2292
added detection for SiS645DX and SiS735
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1533 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:18:40 +00:00
Mark M. Hoffman
c9bbad6f20
documented changes 1.1 -> 1.2
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1532 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:17:52 +00:00
Mark M. Hoffman
799093a74d
improved support for SiS645/961
...
added support for SiS645DX/961 and SiS735
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1531 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:17:09 +00:00
Mark M. Hoffman
13923f85d1
added notes/mentions SiS645
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1520 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:23:48 +00:00
Mark M. Hoffman
f1ad92b5a7
added support for SiS645
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1519 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:22:51 +00:00
Mark M. Hoffman
2b65fb3e9b
doc for SiS645 SMBus driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1518 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:21:25 +00:00
Mark M. Hoffman
eff6e6697f
added SiS645 SMBus driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1517 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:19:27 +00:00
Mark M. Hoffman
9b60b4787b
new SiS645 SMBus driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1516 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:18:49 +00:00