Several small GL518SM fixes

* (module) VIN limits are now set to sane values (3V instead of 30V, which
  caused nasty overflows)
* (module) VIN limits had min/max swapped in gl518_attach_adapter
* (lib) TEMP_HYST used the VID sysctl instead of the TEMP sysctl, leading
  to bogus readings
* (sensors) print n/a for gl518 not available readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@145 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-01-03 16:21:51 +00:00
1 parent dfc74d0f39
commit a59e9abc8b
5 files changed
+33 -32

No files matched your search

+1 -1
View File
@@ -348,7 +348,7 @@ static sensors_chip_feature gl518r00_features[] =
GL518_SYSCTL_TEMP, VALUE(2), 1 },
{ SENSORS_GL518R00_TEMP_OVER, "temp_over", SENSORS_GL518R00_TEMP,
SENSORS_GL518R00_TEMP, SENSORS_MODE_RW,
GL518_SYSCTL_VDD, VALUE(1), 1 },
GL518_SYSCTL_TEMP, VALUE(1), 1 },
{ SENSORS_GL518R00_VID, "vid", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_R, GL518_SYSCTL_VID, VALUE(1), 0 },
{ SENSORS_GL518R00_FAN1_DIV, "fan1_div", SENSORS_GL518R00_FAN1,