mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
(Kyösti) Small fixes for GL518.
Fan1 causes now alarm when rpm drops. Fixed libsensors displaying incorrect temperature limits for rev 80. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@293 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d9e5165439
commit
14e5a602c5
2 files changed
+3
-2
No files matched your search
@@ -312,12 +312,13 @@ int gl518_attach_adapter(struct i2c_adapter *adapter)
|
||||
gl518_write_value(new_client,GL518_REG_CONF,0x04);
|
||||
/* Never interrupts */
|
||||
gl518_write_value(new_client,GL518_REG_MASK,0x00);
|
||||
|
||||
gl518_write_value(new_client,GL518_REG_TEMP_HYST,
|
||||
TEMP_TO_REG(GL518_INIT_TEMP_HYST));
|
||||
gl518_write_value(new_client,GL518_REG_TEMP_OVER,
|
||||
TEMP_TO_REG(GL518_INIT_TEMP_OVER));
|
||||
gl518_write_value(new_client,GL518_REG_MISC,(DIV_TO_REG(2) << 6) |
|
||||
(DIV_TO_REG(2) << 4) | 0x08);
|
||||
(DIV_TO_REG(2) << 4));
|
||||
gl518_write_value(new_client,GL518_REG_FAN_LIMIT,
|
||||
(FAN_TO_REG(GL518_INIT_FAN_MIN_1,2) << 8) |
|
||||
FAN_TO_REG(GL518_INIT_FAN_MIN_2,2));
|
||||
|
||||
Reference in new issue
Block a user