mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Winbond driver enhancements (untested)
* Force the Winbond into bank 0 before anything else is done * Copied fan_div patch from lm78.c * Copied IN_{FROM,TO}_REG patch from lm78.c * Copied alarms computation bug fix from lm78.c * Nicer way of managing banks: the bank number to access is now the high byte of the (as u16 declared) register number. Only w38781d_{read,write}_value needs now to be aware of banks. Also, the w38781d_{read,write}_value functions now know that sensors 2 and temp, hyst and over registers are word-sized. * Introduced fan_div for FAN3 and 9-bit temperature readings. * Made beep file work like the gl518sm one * Corrected small VID problem (bit 4 was read from the wrong register) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@121 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -508,7 +508,7 @@ void print_lm80(const sensors_chip_name *name)
|
||||
!sensors_get_feature(*name,SENSORS_LM80_TEMP_OS_HYST,&min2) &&
|
||||
!sensors_get_feature(*name,SENSORS_LM80_TEMP_OS_MAX,&max2)) {
|
||||
print_label(label,10);
|
||||
printf("%+3.0f C (hot:limit = %+3.0f C, hysteris = %+3.0f C) %s\n",
|
||||
printf("%+3.2f C (hot:limit = %+3.0f C, hysteris = %+3.0f C) %s\n",
|
||||
cur,max,min, alarms&LM80_ALARM_TEMP_HOT?"ALARM":"");
|
||||
printf(" (os: limit = %+3.0f C, hysteris = %+3.0f C) %s\n",
|
||||
max2,min2, alarms&LM80_ALARM_TEMP_HOT?"ALARM":"");
|
||||
|
Reference in New Issue
Block a user