From 34f978803140aeb4963f726a1d75dab71b412625 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 20 Dec 2012 19:46:29 +0000 Subject: [PATCH] Remove duplicate "ns" in SDR timings. git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6099 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + eeprom/decode-dimms | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 4b4b9e8..da2df0c 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,7 @@ SVN HEAD Update manufacturer IDs Make DDR3 manufacturer count parity error non-fatal 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 i2c-dev.h: Minimize differences with kernel flavor Move SMBus helper functions to include/i2c/smbus.h diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 8cd2bd2..eafb17a 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -638,7 +638,7 @@ sub decode_sdr_sdram($) my $ctime = ($bytes->[9] >> 4) + ($bytes->[9] & 0xf) * 0.1; $trcd = $bytes->[29]; - $trp = $bytes->[27];; + $trp = $bytes->[27]; $tras = $bytes->[30]; printl("tCL-tRCD-tRP-tRAS", @@ -735,7 +735,6 @@ sub decode_sdr_sdram($) else { $temp += 15 if $temp < 4; $temp += ($bytes->[23] & 0xf) * 0.1; - $temp .= " ns"; } $cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-1]; @@ -744,7 +743,6 @@ sub decode_sdr_sdram($) else { $temp += 15 if $temp < 4; $temp += ($bytes->[24] & 0xf) * 0.1; - $temp .= " ns"; } $access_time .= "\n$temp ns at CAS ".$cas[$#cas-1]; } @@ -754,7 +752,6 @@ sub decode_sdr_sdram($) if ($temp == 0) { $temp = "Undefined!"; } else { $temp += ($bytes->[25] & 0x3) * 0.25; - $temp .= " ns"; } $cycle_time .= "\n$temp ns at CAS ".$cas[$#cas-2]; @@ -762,7 +759,6 @@ sub decode_sdr_sdram($) if ($temp == 0) { $temp = "Undefined!"; } else { $temp += ($bytes->[26] & 0x3) * 0.25; - $temp .= " ns"; } $access_time .= "\n$temp ns at CAS ".$cas[$#cas-2]; }