diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-04-14 17:33:58 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-04-14 17:33:58 +0000 |
commit | e4eb2941c41cd4529cd6a0017e849fca9816fb35 (patch) | |
tree | 0f3033b6f926e1bfd7e45224aa09d1068703f404 | |
parent | d55998b01755f963473087867c5f7ecee3e20a27 (diff) | |
download | i2c-tools-e4eb2941c41cd4529cd6a0017e849fca9816fb35.tar.gz |
DDR3: Move "mm" in physical dimensions from label to values, for
consistency.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6140 7894878c-1315-0410-8ee3-d5d059ff63e0
-rwxr-xr-x | eeprom/decode-dimms | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 82876ba..16bc8ad 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -1377,19 +1377,19 @@ sub decode_ddr3_sdram($) my @module_types = ( { type => "Undefined", width => "Unknown" }, - { type => "RDIMM", width => 133.35 }, - { type => "UDIMM", width => 133.35 }, - { type => "SO-DIMM", width => 67.6 }, + { type => "RDIMM", width => "133.35 mm" }, + { type => "UDIMM", width => "133.35 mm" }, + { type => "SO-DIMM", width => "67.6 mm" }, { type => "Micro-DIMM", width => "TBD" }, - { type => "Mini-RDIMM", width => 82.0 }, - { type => "Mini-UDIMM", width => 82.0 }, - { type => "Mini-CDIMM", width => 67.6 }, - { type => "72b-SO-UDIMM", width => 67.6 }, - { type => "72b-SO-RDIMM", width => 67.6 }, - { type => "72b-SO-CDIMM", width => 67.6 }, - { type => "LRDIMM", width => 133.35 }, - { type => "16b-SO-DIMM", width => 67.6 }, - { type => "32b-SO-DIMM", width => 67.6 }, + { type => "Mini-RDIMM", width => "82.0 mm" }, + { type => "Mini-UDIMM", width => "82.0 mm" }, + { type => "Mini-CDIMM", width => "67.6 mm" }, + { type => "72b-SO-UDIMM", width => "67.6 mm" }, + { type => "72b-SO-RDIMM", width => "67.6 mm" }, + { type => "72b-SO-CDIMM", width => "67.6 mm" }, + { type => "LRDIMM", width => "133.35 mm" }, + { type => "16b-SO-DIMM", width => "67.6 mm" }, + { type => "32b-SO-DIMM", width => "67.6 mm" }, ); printl("Module Type", ($bytes->[3] <= $#module_types) ? @@ -1546,11 +1546,11 @@ sub decode_ddr3_sdram($) if ($bytes->[3] >= 1 && $bytes->[3] <= 6) { prints("Physical Characteristics"); - printl("Module Height (mm)", ($bytes->[60] & 31) + 15); - printl("Module Thickness (mm)", sprintf("%d front, %d back", + printl("Module Height", (($bytes->[60] & 31) + 15) . " mm"); + printl("Module Thickness", sprintf("%d mm front, %d mm back", ($bytes->[61] & 15) + 1, (($bytes->[61] >> 4) & 15) +1)); - printl("Module Width (mm)", $bytes->[3] <= $#module_types ? + printl("Module Width", $bytes->[3] <= $#module_types ? $module_types[$bytes->[3]]->{width} : "TBD"); printl("Module Reference Card", ddr3_reference_card($bytes->[62], $bytes->[60])); } |