Add PCI ID for new family 15h AMD processors.

This commit is contained in:
Jean Delvare committed 2013-08-31 13:18:15 +00:00
1 parent b67af39649
commit 993f8cb621
2 files changed
+7 -4

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ SVN HEAD
Add detection of NCT6791D
Add detection of NCT6681D, NCT6682D, and NCT6683D
Add detection of F71868A
Add a PCI ID for new family 15h AMD processors
3.3.4 (2013-05-27)
sensors.conf.5: Mention "sensors -u" to get the raw feature names
+6 -4
View File
@@ -2392,7 +2392,7 @@ use vars qw(@cpu_ids);
}, {
name => "AMD Family 15h thermal sensors",
driver => "k10temp",
detect => sub { amd_pci_detect('1603') },
detect => sub { amd_pci_detect('1603', '1403') },
}, {
name => "AMD Family 15h power sensors",
driver => "fam15h_power",
@@ -6432,9 +6432,11 @@ sub via8231_pci_detect
sub amd_pci_detect
{
my $f3_id = shift;
return unless exists $pci_list{"1022:$f3_id"};
return 9;
my $dev_id;
while (defined($dev_id = shift)) {
return 9 if exists $pci_list{"1022:$dev_id"};
}
return undef;
}
sub fam10h_pci_detect