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
17881ba0e1
The IT8705F and SiS950 do not have an SMBus interface (backport
...
from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3153 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 11:42:32 +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
32b69ce2f0
Trivial whitespace fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3151 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 10:18:50 +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
64d4181b85
Backport updates from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3146 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 08:51:09 +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
5061e4dd88
Resync with Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3144 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 21:49:22 +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
Mark D. Studebaker
550ab5978c
add Aweta donation
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3137 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-29 19:01:03 +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
Mark M. Hoffman
72a6f0dde5
Fix bug in smsc47b397_features table, noticed by Jean Delvare.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3133 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-28 03:32:39 +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
6d751b7b11
Mass-fix typos and trailing whitespace.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3131 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-21 19:16:22 +00:00
Jean Delvare
deb0f43e4c
Update the list of supported chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3130 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-21 18:22:24 +00:00
Jean Delvare
7a1f7211a3
Update the general advice section.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3129 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-21 18:08:06 +00:00
Rudolf Marek
e3b6367a1b
Add /me as Khali noticed recently
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3128 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-19 21:29:56 +00:00
Rudolf Marek
e6c1b27de2
Added TYAN sensors.conf database link
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3127 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-19 21:21:07 +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
c43d5825e7
Minor updates: driver ID, mailing list.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3124 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-17 18:25:17 +00:00
Jean Delvare
d62378fb12
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3123 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:36:05 +00:00
Jean Delvare
081f0dd6a9
Fix MAX6659 reported driver.
...
Add Fintek F71805F detection.
Fix multi-byte Super-I/O chip ID display on detection failure.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3122 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:34:27 +00:00
Jean Delvare
fcdc235ee3
Fix rounding error in PCxxxx DDR SDRAM speed computation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3121 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:28:08 +00:00
Jean Delvare
d2e6e8561b
Disable iconv when uclibc is used.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3120 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-14 16:51:44 +00:00
Mark M. Hoffman
ca1432f131
Add a new ID for a smsc47b397 variant.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3119 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-12 03:49:55 +00:00
Jean Delvare
776c73bf22
Get rid of free_the_label(), we really can do without it.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3118 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-06 17:27:29 +00:00
Jean Delvare
7ce3864411
Update FAQ:
...
* Add Q: Why did you decide not to support undocumented chips?
* Drop Q: How to avoid spam on the mailing-list?
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3117 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-05 21:07:02 +00:00
Mark M. Hoffman
2c5ffc1053
A trivial cleanup for getsysname() - there's no reason for matches[]
...
to be an automatic, or non-const.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3116 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-02 14:55:58 +00:00
Mark M. Hoffman
efb1c0d53c
Minor cleanup: get rid of an unnecessary forward declaration.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3115 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:38:56 +00:00
Jean Delvare
2c0a82502e
The ADM1032 and ADT7461 chips have variants with address 0x4d
...
instead of 0x4c.
Add support for the ADT7468. It can't actually be distinguished from an
ADT7467 (the latter being a stripped down incarnation of the later).
Increase the ADT7467/ADT7468 confidence value if the device ID is exactly
one of the two documented in the datasheets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3114 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:34:38 +00:00
Mark M. Hoffman
b4598af0aa
Remove a workaround for sysfs support that is no longer needed.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3113 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:31:35 +00:00
Jean Delvare
b1a227f67a
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3112 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:38:35 +00:00
Jean Delvare
eabdfe8b94
Display the real addresses (rather than offsets thereto) in flat
...
mode.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3111 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:30:55 +00:00
Jean Delvare
40a778e313
Continuous byte mode needs not only read byte capability but also
...
write byte capability.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3110 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:25:38 +00:00
Jean Delvare
d9927a5a5e
Fix a bug in argc check.
...
Only use PEC on the register write, not the readback, as it has proven to
cause trouble on some chips. Reads with PEC can be tested using i2cget.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3109 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:16:24 +00:00
Jean Delvare
47a3cc59c0
New helper program to read a single register from an I2C/SMBus
...
chip. It has byte data and word data read support as well as byte
write/byte read, and supports PEC too. Beware that byte write with PEC
enabled can write random values to registers on non-PEC-aware chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3108 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-29 20:59:22 +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