Jean Delvare
ffdd27a3c2
Initial support for the Fintek F71805F/FG chip.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3169 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-04 20:59:18 +00:00
Jean Delvare
3664b58334
Drop unused structure members.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3167 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-01 15:49:52 +00:00
Jean Delvare
ee837eeb43
Sync with Linux 2.6:
...
* Adjust log messages on SMBus reset.
* Reformat comment.
* Change the module author string.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3164 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-31 11:53:26 +00:00
Jean Delvare
6d94d22cd6
Support the ADM1032-2 and ADT7461-2, which have address 0x4d.
...
Backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3161 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 15:24:39 +00:00
Jean Delvare
c7e6cd782f
List the i845G as supported. PCI IDs cleanups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3160 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 15:04:13 +00:00
Jean Delvare
2dfd3d5b47
Fix functions being declared static and then implemented
...
non-static. Backport from Linux 2.6, original patch from Ben Dooks.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3156 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 14:15:46 +00:00
Jean Delvare
f1849c2f56
Drop useless w83627hf initialization step (backported from Linux
...
2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3155 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 13:02:47 +00:00
Jean Delvare
2f12c68ed1
Misc fixes:
...
* The IT8705F and SiS950 have no SMBus interface.
* Fix a parenthesis misplacement.
* it87_detect should be static.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3154 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 11:52:13 +00:00
Jean Delvare
6ce664e2ec
Using s8 instead of u8 to store temperature register values saves
...
a few instructions (backport from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3152 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 10:34:16 +00:00
Jean Delvare
b1a481683d
Revert request_region name change, this one driver does not
...
register as a pci_driver, so it has no pci_driver name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3150 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 10:16:22 +00:00
Jean Delvare
7f68d835a3
Backport from Linux 2.6:
...
Clean up name string usage in 11 i2c bus drivers:
* Use the pci_driver name for requesting the I/O region rather than
redefining a new string.
* Do not initialize the i2c_adapter name to "unset".
This should save a few data bytes here and there.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3149 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 10:02:58 +00:00
Jean Delvare
8d04d78a29
Remove dead code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3148 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 09:58:08 +00:00
Jean Delvare
c23099c76d
Drop a common comment about limits being set in initialization
...
functions. We no more do that.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3147 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 09:05:58 +00:00
Jean Delvare
29a686526d
Strip trailing whitespace and break longs lines, as was done in
...
the Linux 2.6 version of this driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3145 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 08:41:31 +00:00
Jean Delvare
8abc37faf1
Improve register dump. This is a backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3143 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 21:47:49 +00:00
Jean Delvare
5aba57a4a9
Refactor a control outb. This allows for some other
...
simplifications. Backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3142 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 21:36:16 +00:00
Jean Delvare
a181997776
Update the list of supported chips, stating which ones support
...
I2C block reads, and which don't. This is a backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3141 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 21:13:25 +00:00
Jean Delvare
2f6bd9c4c2
Code cleanups, backported from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3140 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 21:04:11 +00:00
Jean Delvare
7eb393205c
Support I2C block read when possible. This is a backport from
...
Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3139 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 19:48:20 +00:00
Jean Delvare
3d808fabd2
Coding style cleanups, backported from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3138 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 19:15:56 +00:00
Jean Delvare
7f181abb2b
Drop dead code, and fix annotations accordingly.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3136 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 18:44:48 +00:00
Jean Delvare
d02d863d2a
Remove i2c read/write wrapper interface as it does nothing.
...
Original patch from Grant Coady, backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3135 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 18:35:47 +00:00
Jean Delvare
f40c89a8c6
Save 0.5kB of lookup table data. This is a backport from Linux
...
2.6, original patch from Denis Vlasenko.
Drop useless check in detection function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3134 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 17:17:48 +00:00
Jean Delvare
8160638cd1
Mention the SMSC LPC47M997.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3132 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-24 17:22:25 +00:00
Jean Delvare
a8ae1d4fb9
Drop useless cast on kmalloc return (backport from Linux 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3126 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-18 06:07:39 +00:00
Jean Delvare
e1ddded53b
Drop useless instruction. This is a backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3125 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-17 19:29:17 +00:00
Jean Delvare
17e1b0c907
Add missing parentheses to some macros. Same was done to i2c.h
...
some months ago but we omitted to do the same in i2c-dev.h.
Drop I2C_FUNC_SMBUS_EMUL, it is meant as a convenient shortcut for plain
I2C bus drivers and has no use in user-space.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3107 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-29 18:03:23 +00:00
Jean Delvare
f55e5038a3
Syncronize i2c_msg definition with i2c.h. Patch from Hideki
...
Iwamoto. Without this, I2C_RDWR ioctl does not work correctly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3105 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-27 18:11:57 +00:00
Jean Delvare
d541844ecc
Discard I2C_ACK_TEST, which was commented out and never really
...
existed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3103 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-26 17:35:48 +00:00
Jean Delvare
739986c1db
The i2c_smbus_data union block member has a comment stating that an
...
extra byte is required for block process call SMBus transactions. This
has been true for three weeks around June 2002, but no more since, so
it is about time that we drop this comment and fix the definition.
Spotted by Hideki Iwamoto.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3100 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-24 09:40:14 +00:00
Jean Delvare
842c64de27
Kill an unused variable left over from a previous cleanup.
...
Backport from Linux 2.6, credits go to Andrew Morton.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3085 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-12 17:56:56 +00:00
Jean Delvare
060662c522
Remove bus probing code. This is a backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3073 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-07 20:49:53 +00:00
Jean Delvare
08bdbcac71
Remove dead code. Backport from a 2.6 kernel patch by
...
Hans-Frieder Vogt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3072 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-07 20:16:18 +00:00
Jean Delvare
222cfb6918
Drop the W83697HF support from the w83781d driver. It is better
...
supported by the super-I/O w83627hf driver. Patch from Grant Coady.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3071 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-07 19:21:44 +00:00
Jean Delvare
cddd9a51f5
Kill two useless macro and an out-of-date comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3047 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-29 17:58:17 +00:00
Jean Delvare
53df3c69b8
Tag device find functions __init, as they are called from __init
...
functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3044 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-24 13:53:48 +00:00
Jean Delvare
cb8d82d797
Drop useless casts in init code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3037 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-16 16:01:09 +00:00
Mark D. Studebaker
f876b23490
remove Chunhao's email addr at his request (no longer valid)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3029 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-28 03:49:19 +00:00
Jean Delvare
1e982851ad
Add missing space in multiline strings.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3028 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-26 08:48:04 +00:00
Jean Delvare
1b22e84168
Discard bogus comment. Backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3026 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-23 22:12:02 +00:00
Jean Delvare
8aca9c7e34
Strip useless whitespace before new line at end of string.
...
Backport from a Linux 2.6 patch from Denis Vlasenko.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3024 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-23 20:56:13 +00:00
Mark M. Hoffman
617cc1313e
Fix broken kfree() calls.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3017 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-11 20:35:21 +00:00
Mark M. Hoffman
a006f300b3
Fix memory leak.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3015 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-11 20:16:28 +00:00
Jean Delvare
0cf832856d
Properly handle the W83792D alarms. Patch from Chunhao Huang.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3014 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-06 19:22:52 +00:00
Jean Delvare
dc45c4d801
Indentation cleaups from Chunhao Huang.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3013 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-06 18:54:45 +00:00
Rudolf Marek
b32aa3c716
Update from Huang - w83792d_driver-1.0.5.patch, alarms handling fixed
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3012 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-01 10:49:04 +00:00
Jean Delvare
dfb54c46a1
Fix typo in comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3008 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-28 08:06:30 +00:00
Jean Delvare
5aed4be0e5
Fix common spelling errors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3000 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-15 10:06:15 +00:00
Mark D. Studebaker
7f544464ad
allow setting divisor to 128
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2999 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-12 14:51:34 +00:00
Mark D. Studebaker
286deec334
allow setting fan divisor to 128. patch from Jarkko Lavinen
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2997 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-11 17:17:21 +00:00