Added sensor[1-3] support for w83782d/783s to 'sensors'.

Now prints out what kind of sensor it is.
Also separated alarms for temp2 and temp3 for 782d/783s (they are
a single bit for 781d).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@400 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 1999-04-20 01:49:51 +00:00
1 parent 4e91b1083d
commit d70c450c78
5 files changed
+98 -22

No files matched your search

+10
View File
@@ -860,6 +860,12 @@ static sensors_chip_feature w83782d_features[] =
{ SENSORS_W83782D_BEEPS, "beeps", SENSORS_W83782D_ALARMS,
SENSORS_W83782D_ALARMS, SENSORS_MODE_RW,
W83781D_SYSCTL_BEEP, VALUE(2), 0 },
{ SENSORS_W83782D_SENS1, "sensor1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, W83781D_SYSCTL_SENS1, VALUE(1), 0 },
{ SENSORS_W83782D_SENS2, "sensor2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, W83781D_SYSCTL_SENS2, VALUE(1), 0 },
{ SENSORS_W83782D_SENS3, "sensor3", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, W83781D_SYSCTL_SENS3, VALUE(1), 0 },
{ 0 }
};
@@ -971,6 +977,10 @@ static sensors_chip_feature w83783s_features[] =
{ SENSORS_W83783S_BEEPS, "beeps", SENSORS_W83783S_ALARMS,
SENSORS_W83783S_ALARMS, SENSORS_MODE_RW,
W83781D_SYSCTL_BEEP, VALUE(2), 0 },
{ SENSORS_W83783S_SENS1, "sensor1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, W83781D_SYSCTL_SENS1, VALUE(1), 0 },
{ SENSORS_W83783S_SENS2, "sensor2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_RW, W83781D_SYSCTL_SENS2, VALUE(1), 0 },
{ 0 }
};