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

Add AMD family 15h CPU detection.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5955 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2011-04-06 12:18:55 +00:00
parent 715a6f9011
commit 982df34c9f
2 changed files with 13 additions and 0 deletions

View File

@@ -2185,6 +2185,10 @@ use vars qw(@cpu_ids);
name => "AMD Family 12h and 14h thermal sensors",
driver => "k10temp",
detect => \&fam12h_14h_pci_detect,
}, {
name => "AMD Family 15h thermal sensors",
driver => "k10temp",
detect => \&fam15h_pci_detect,
}, {
name => "Intel digital thermal sensor",
driver => "coretemp",
@@ -6138,6 +6142,12 @@ sub fam12h_14h_pci_detect
return 9;
}
sub fam15h_pci_detect
{
return unless exists $pci_list{'1022:1603'};
return 9;
}
sub intel_amb_detect
{
if ((exists $pci_list{'8086:25f0'}) || # Intel 5000