Add support for AMD Family 12h and 14h thermal sensors to sensors-detect

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5933 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Guenter Roeck committed 2011-02-18 12:55:36 +00:00
1 parent fa5a0694b4
commit 810742f0da
2 files changed
+11

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ SVN HEAD
EMC1072, EMC1073, EMC1074, EMC1402, and EMC1424
Fixed address ranges checked for SMSC EMC1403 and EMC1404.
Fix detection of SPD EEPROM on DDR3 memory modules
Add detection of AMD family 12h and 14h thermal sensors
3.2.0 (2010-10-10)
libsensors: Increase MAX_SENSORS_PER_TYPE to 24
+10
View File
@@ -2127,6 +2127,10 @@ use vars qw(@cpu_ids);
name => "AMD Family 11h thermal sensors",
driver => "k10temp",
detect => \&fam11h_pci_detect,
}, {
name => "AMD Family 12h and 14h thermal sensors",
driver => "k10temp",
detect => \&fam12h_14h_pci_detect,
}, {
name => "Intel digital thermal sensor",
driver => "coretemp",
@@ -6028,6 +6032,12 @@ sub fam11h_pci_detect
return 9;
}
sub fam12h_14h_pci_detect
{
return unless exists $pci_list{'1022:1703'};
return 9;
}
sub intel_amb_detect
{
if ((exists $pci_list{'8086:25f0'}) || # Intel 5000