Browse Source

Remove duplicate "ns" in SDR timings.

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6099 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v4.0
Jean Delvare 13 years ago
parent
commit
34f9788031
  1. 1
      CHANGES
  2. 6
      eeprom/decode-dimms

1
CHANGES

@ -18,6 +18,7 @@ SVN HEAD
Update manufacturer IDs Update manufacturer IDs
Make DDR3 manufacturer count parity error non-fatal Make DDR3 manufacturer count parity error non-fatal
Strip former manufacturer name in side-by-side output mode Strip former manufacturer name in side-by-side output mode
Remove duplicate "ns" in SDR timings
i2cdetect: Do a best effort detection if functionality is missing i2cdetect: Do a best effort detection if functionality is missing
i2c-dev.h: Minimize differences with kernel flavor i2c-dev.h: Minimize differences with kernel flavor
Move SMBus helper functions to include/i2c/smbus.h Move SMBus helper functions to include/i2c/smbus.h

6
eeprom/decode-dimms

@ -638,7 +638,7 @@ sub decode_sdr_sdram($)
my $ctime = ($bytes->[9] >> 4) + ($bytes->[9] & 0xf) * 0.1; my $ctime = ($bytes->[9] >> 4) + ($bytes->[9] & 0xf) * 0.1;
$trcd = $bytes->[29]; $trcd = $bytes->[29];
$trp = $bytes->[27];;
$trp = $bytes->[27];
$tras = $bytes->[30]; $tras = $bytes->[30];
printl("tCL-tRCD-tRP-tRAS", printl("tCL-tRCD-tRP-tRAS",
@ -735,7 +735,6 @@ sub decode_sdr_sdram($)
else { else {
$temp += 15 if $temp < 4; $temp += 15 if $temp < 4;
$temp += ($bytes->[23] & 0xf) * 0.1; $temp += ($bytes->[23] & 0xf) * 0.1;
$temp .= " ns";
} }
$cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-1]; $cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-1];
@ -744,7 +743,6 @@ sub decode_sdr_sdram($)
else { else {
$temp += 15 if $temp < 4; $temp += 15 if $temp < 4;
$temp += ($bytes->[24] & 0xf) * 0.1; $temp += ($bytes->[24] & 0xf) * 0.1;
$temp .= " ns";
} }
$access_time .= "\n$temp ns at CAS ".$cas[$#cas-1]; $access_time .= "\n$temp ns at CAS ".$cas[$#cas-1];
} }
@ -754,7 +752,6 @@ sub decode_sdr_sdram($)
if ($temp == 0) { $temp = "Undefined!"; } if ($temp == 0) { $temp = "Undefined!"; }
else { else {
$temp += ($bytes->[25] & 0x3) * 0.25; $temp += ($bytes->[25] & 0x3) * 0.25;
$temp .= " ns";
} }
$cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-2]; $cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-2];
@ -762,7 +759,6 @@ sub decode_sdr_sdram($)
if ($temp == 0) { $temp = "Undefined!"; } if ($temp == 0) { $temp = "Undefined!"; }
else { else {
$temp += ($bytes->[26] & 0x3) * 0.25; $temp += ($bytes->[26] & 0x3) * 0.25;
$temp .= " ns";
} }
$access_time .= "\n$temp ns at CAS ".$cas[$#cas-2]; $access_time .= "\n$temp ns at CAS ".$cas[$#cas-2];
} }

Loading…
Cancel
Save