Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4653 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-12 13:33:50 +00:00
1 parent 1d059ab3e0
commit cfc5fda3c5
2 files changed
+6 -3

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ lm_sensors CHANGES file
SVN HEAD
Library: Fix a memory leak on error
Speed up sensors_get_ignored() a bit
Fix thmc50 support for Linux 2.6
Module i2c-piix4: Add ATI SB700 support (2.6 backport)
Program sensors-detect: Don't probe i2c-isa as a regular i2c bus
+5 -3
View File
@@ -2747,7 +2747,8 @@ static sensors_chip_feature thmc50_features[] =
THMC50_SYSCTL_TEMP, VALUE(3), 0 },
{ { SENSORS_THMC50_TEMP_HYST, "temp_hyst", SENSORS_THMC50_TEMP,
SENSORS_THMC50_TEMP, RW },
THMC50_SYSCTL_TEMP, VALUE(2), 0 },
THMC50_SYSCTL_TEMP, VALUE(2), 0,
"temp1_min", 3 },
{ { SENSORS_THMC50_TEMP_OVER, "temp_over", SENSORS_THMC50_TEMP,
SENSORS_THMC50_TEMP, RW },
THMC50_SYSCTL_TEMP, VALUE(1), 0 },
@@ -2757,14 +2758,15 @@ static sensors_chip_feature thmc50_features[] =
SENSORS_THMC50_REMOTE_TEMP,
SENSORS_THMC50_REMOTE_TEMP, RW },
THMC50_SYSCTL_REMOTE_TEMP, VALUE(2),
0 },
0, "temp2_min", 3 },
{ { SENSORS_THMC50_REMOTE_TEMP_OVER, "remote_temp_over",
SENSORS_THMC50_REMOTE_TEMP,
SENSORS_THMC50_REMOTE_TEMP, RW },
THMC50_SYSCTL_REMOTE_TEMP, VALUE(1),
0 },
{ { SENSORS_THMC50_INTER_MASK, "analog output", NOMAP, NOMAP, RW },
THMC50_SYSCTL_ANALOG_OUT, VALUE(1), 0 },
THMC50_SYSCTL_ANALOG_OUT, VALUE(1), 0,
"pwm1", 0 },
{ { SENSORS_THMC50_INTER, "interrupts", NOMAP, NOMAP, R },
THMC50_SYSCTL_INTER, VALUE(1), 0 },
{ { SENSORS_THMC50_INTER_MASK, "interrupt mask", NOMAP, NOMAP, RW },