2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

Fix detection of RB-C3 AMD Family 10h CPU. This core is only used in

packages not affected by erratum 319, so we don't have to use the
unreliable DDR2 vs. DDR3 approach for it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5837 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2010-06-01 12:27:28 +00:00
parent 51e4710815
commit 78dc2534ee
2 changed files with 2 additions and 1 deletions

View File

@@ -5471,7 +5471,7 @@ sub fam10h_pci_detect
next if $probecpu->{model} < 4; # DR-B*
next if $probecpu->{model} == 8; # HY-D0
if ($probecpu->{model} == 4) { # RB-C*
if ($probecpu->{model} == 4 && $probecpu->{stepping} <= 2) { # RB-C2
my @dram_cfg = split /\n/, `setpci -d 1022:1202 94.L 2>/dev/null`;
next unless @dram_cfg >= 1;
next unless hex($dram_cfg[0]) & 0x00000100; # DDR3