mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
The adt7463 may not have in4 (#2119)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4133 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -55,6 +55,7 @@ lm_sensors CHANGES file
|
||||
Make each it87 fan and fan div optional
|
||||
Print missing w83791d values
|
||||
Add w83793 support (Yuan Mu)
|
||||
The adt7463 may not have in4 (#2119)
|
||||
Program sensors-detect: Add ServerWorks HT-1000 SMBus detection
|
||||
Add ATI IXP200/300/400 SMBus detection
|
||||
Prevent warning on 64-bit PCI addresses
|
||||
|
@@ -2392,6 +2392,7 @@ chip "asb100-*"
|
||||
chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
|
||||
|
||||
# Voltage inputs
|
||||
# Depending on the hardware setup, the ADT7463 may not have in4.
|
||||
label in0 "V1.5" # AGP on Intel S845WD1-E
|
||||
label in1 "VCore"
|
||||
label in2 "V3.3"
|
||||
|
@@ -1561,13 +1561,14 @@ void print_lm85(const sensors_chip_name *name)
|
||||
char *label;
|
||||
double cur, min, max;
|
||||
int alarms, alarm_mask = 0, valid;
|
||||
int is85, is1027, is6d100;
|
||||
int is85, is1027, is7463, is6d100;
|
||||
|
||||
is85 = !strcmp(name->prefix,"lm85")
|
||||
|| !strcmp(name->prefix,"lm85b")
|
||||
|| !strcmp(name->prefix,"lm85c") ;
|
||||
is1027 = !strcmp(name->prefix,"adm1027")
|
||||
|| !strcmp(name->prefix,"adt7463") ;
|
||||
is7463 = !strcmp(name->prefix, "adt7463");
|
||||
is6d100 = !strcmp(name->prefix,"emc6d100") ;
|
||||
|
||||
if (!sensors_get_feature(*name,SENSORS_LM85_ALARMS,&cur))
|
||||
@@ -1649,7 +1650,7 @@ void print_lm85(const sensors_chip_name *name)
|
||||
if (is1027) { printf(alarm_mask&LM85_ALARM_IN4?" MASKED":""); }
|
||||
putchar( '\n' );
|
||||
}
|
||||
} else
|
||||
} else if (!is7463)
|
||||
printf("ERROR: Can't get IN4 data!\n");
|
||||
free(label);
|
||||
|
||||
|
Reference in New Issue
Block a user