2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-01 06:45:24 +00:00

Drop AMD K10 detection (unreliable sensors).

Add detection for AMD Family 11h thermal sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5769 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2009-09-14 10:50:45 +00:00
parent bff5a8dde0
commit 739d25f48c
2 changed files with 6 additions and 4 deletions

View File

@@ -1843,9 +1843,9 @@ use vars qw(@cpu_ids);
driver => "k8temp",
detect => \&k8temp_pci_detect,
}, {
name => "AMD K10 thermal sensors",
name => "AMD Family 11h thermal sensors",
driver => "to-be-written",
detect => \&k10temp_pci_detect,
detect => \&fam11h_pci_detect,
}, {
name => "Intel Core family thermal sensor",
driver => "coretemp",
@@ -5250,9 +5250,9 @@ sub k8temp_pci_detect
return 9;
}
sub k10temp_pci_detect
sub fam11h_pci_detect
{
return unless exists $pci_list{'1022:1203'};
return unless exists $pci_list{'1022:1303'};
return 9;
}