mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
More AMD family 10h CPU models with broken thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5813 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -5390,14 +5390,18 @@ sub fam10h_pci_detect
|
||||
|
||||
# Errata 319 (Inaccurate Temperature Measurement) affects
|
||||
# revisions DR-BA, DR-B2 and DR-B3, all have model number = 2.
|
||||
# So we only pick CPU with model number > 2.
|
||||
# Revisions RB-C2 and HY-D0 are also affected.
|
||||
my $probecpu;
|
||||
foreach $probecpu (@cpu) {
|
||||
if ($probecpu->{vendor_id} eq 'AuthenticAMD' &&
|
||||
$probecpu->{'cpu family'} == 0x10 &&
|
||||
$probecpu->{model} > 2) {
|
||||
return 9;
|
||||
}
|
||||
next unless $probecpu->{vendor_id} eq 'AuthenticAMD' &&
|
||||
$probecpu->{'cpu family'} == 0x10;
|
||||
|
||||
next if $probecpu->{model} == 2; # DR-B*
|
||||
next if $probecpu->{model} == 4 &&
|
||||
$probecpu->{stepping} <= 2; # RB-C2
|
||||
next if $probecpu->{model} == 8; # HY-D0
|
||||
|
||||
return 9;
|
||||
}
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user