aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-12-09 14:36:01 -0500
committerJean Delvare <khali@linux-fr.org>2009-12-09 14:36:01 -0500
commit7669896f499e1bce5cfb38f2685ff583ecdb24dd (patch)
treeac73a6c61327d36518ebbe9625620de974fa878e /drivers/hwmon/Kconfig
parentfc16c56e694d361388bae701894fd719dbc0f7eb (diff)
hwmon: (f71882fg) Add support for the f71889fg (version 2)
This adds support for the Fintek f71889fg to the f71882fg driver, many thanks to Gerd v. Egidy for providing (remote) access to a machine which such an ic. Note that this bit of the patch: - val = SENSORS_LIMIT(val, 0, 255); + + if (data->type == f71889fg) + val = SENSORS_LIMIT(val, -128, 127); + else + val = SENSORS_LIMIT(val, 0, 127); Changes behaviour for already supported models, the new behaviour is correct as the already supported models have bit 7 of the involved registers fixed at 0, so the previous behaviour which allowed setting temp zone limits > 127 was not correct. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index dd6939370f75..edf8febb5bc4 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -305,12 +305,12 @@ config SENSORS_F71805F
305 will be called f71805f. 305 will be called f71805f.
306 306
307config SENSORS_F71882FG 307config SENSORS_F71882FG
308 tristate "Fintek F71858FG, F71862FG, F71882FG and F8000" 308 tristate "Fintek F71858FG, F71862FG, F71882FG, F71889FG and F8000"
309 depends on EXPERIMENTAL 309 depends on EXPERIMENTAL
310 help 310 help
311 If you say yes here you get support for hardware monitoring 311 If you say yes here you get support for hardware monitoring
312 features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG 312 features of the Fintek F71858FG, F71862FG/71863FG, F71882FG/F71883FG,
313 and F8000 Super-I/O chips. 313 F71889FG and F8000 Super-I/O chips.
314 314
315 This driver can also be built as a module. If so, the module 315 This driver can also be built as a module. If so, the module
316 will be called f71882fg. 316 will be called f71882fg.