Library: Handle new chassis intrusion interface (w93792d and w83793).

Untested, and I would hope that anyone using such recent kernels
wouldn't stick to such an old user-space library, but the fix is cheap.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-2.10@5878 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2010-11-03 12:30:23 +00:00
1 parent 8bfcf88477
commit 83bb616d02
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ lm_sensors CHANGES file
SVN-HEAD
File lm_sensors.lsm: Delete, don't advertise a legacy branch
File doc/developers/release_checklist: Skip mail to lsm
Library: Handle new chassis intrusion interface (w93792d and w83793)
Module i2c-ali1563: Remove sparse warnings (2.6 backport)
Module i2c-amd8111: Fix timeout handling (2.6 backport)
Module i2c-piix4: ATI SB800 is not actually supported
+4 -2
View File
@@ -1827,7 +1827,8 @@ static sensors_chip_feature w83792d_features[] =
{ { SENSORS_W83792D_VRM, "vrm", NOMAP, NOMAP, RW },
W83792D_SYSCTL_VRM, VALUE(1), 1 }, */
{ { SENSORS_W83792D_CHASSIS, "chassis", SENSORS_W83792D_CHASSIS, NOMAP, RW },
W83792D_SYSCTL_CHASSIS, VALUE(1), 0 },
W83792D_SYSCTL_CHASSIS, VALUE(1), 0,
"intrusion0_alarm", 0, "chassis" },
{ { SENSORS_W83792D_FAN1_DIV, "fan1_div", SENSORS_W83792D_FAN1, NOMAP, RW },
W83792D_SYSCTL_FAN_DIV, VALUE(1), 0 },
{ { SENSORS_W83792D_FAN2_DIV, "fan2_div", SENSORS_W83792D_FAN2, NOMAP, RW },
@@ -1924,7 +1925,8 @@ static sensors_chip_feature w83793_features[] =
{ { SENSORS_W83793_VRM, "vrm", NOMAP, NOMAP, RW },
NOSYSCTL, VALUE(1), 1 },
{ { SENSORS_W83793_CHASSIS, "chassis", NOMAP, NOMAP, RW },
NOSYSCTL, VALUE(1), 0 },
NOSYSCTL, VALUE(1), 0,
"intrusion0_alarm", 0, "chassis" },
{ { 0 }, 0 }
};