2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

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
2011-02-18 12:55:36 +00:00
parent fa5a0694b4
commit 810742f0da
2 changed files with 11 additions and 0 deletions

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