mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-14 19:03:13 +00:00
Add PCI ID for new family 15h AMD processors.
This commit is contained in:
1 parent
b67af39649
commit
993f8cb621
2 files changed
+7
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user