Browse Source

One more Rambus fix.

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5545 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.0.3
Jean Delvare 17 years ago
parent
commit
75fad2ec24
  1. 2
      eeprom/decode-dimms

2
eeprom/decode-dimms

@ -1411,7 +1411,7 @@ for my $i ( 0 .. $#dimm_list ) {
my @bytes = readspd(128, $dimm_list[$i]);
my $is_rambus = $bytes[0] < 4; # Simple heuristic
my ($l, $chk_valid, $chk_spd, $chk_calc);
if ($bytes[2] < 9) {
if ($is_rambus || $bytes[2] < 9) {
($l, $chk_valid, $chk_spd, $chk_calc) =
checksum(\@bytes);
} else {

Loading…
Cancel
Save