Changeset 5813
- Timestamp:
- 12/17/09 11:01:14 (3 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5812 r5813 5391 5391 # Errata 319 (Inaccurate Temperature Measurement) affects 5392 5392 # revisions DR-BA, DR-B2 and DR-B3, all have model number = 2. 5393 # So we only pick CPU with model number > 2.5393 # Revisions RB-C2 and HY-D0 are also affected. 5394 5394 my $probecpu; 5395 5395 foreach $probecpu (@cpu) { 5396 if ($probecpu->{vendor_id} eq 'AuthenticAMD' && 5397 $probecpu->{'cpu family'} == 0x10 && 5398 $probecpu->{model} > 2) { 5399 return 9; 5400 } 5396 next unless $probecpu->{vendor_id} eq 'AuthenticAMD' && 5397 $probecpu->{'cpu family'} == 0x10; 5398 5399 next if $probecpu->{model} == 2; # DR-B* 5400 next if $probecpu->{model} == 4 && 5401 $probecpu->{stepping} <= 2; # RB-C2 5402 next if $probecpu->{model} == 8; # HY-D0 5403 5404 return 9; 5401 5405 } 5402 5406
