Show
Ignore:
Timestamp:
01/04/08 17:19:41 (7 years ago)
Author:
khali
Message:

Drop the embedded changelog, SVN has a better revision history and the
parallel version numbering was rather confusing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/eeprom/decode-dimms.pl

    r5087 r5088  
    11#!/usr/bin/perl -w 
     2# 
     3# EEPROM data decoder for SDRAM DIMM modules 
    24# 
    35# Copyright 1998, 1999 Philip Edelbrock <phil@netroedge.com> 
    46# modified by Christian Zuckschwerdt <zany@triq.net> 
    57# modified by Burkart Lingner <burkart@bollchen.de> 
     8# Copyright (C) 2005-2008  Jean Delvare <khali@linux-fr.org> 
    69# 
    710#    This program is free software; you can redistribute it and/or modify 
     
    1922#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
    2023# 
    21 # Version 0.4  1999  Philip Edelbrock <phil@netroedge.com> 
    22 # Version 0.5  2000-03-30  Christian Zuckschwerdt <zany@triq.net> 
    23 #  html output (selectable by commandline switches) 
    24 # Version 0.6  2000-09-16  Christian Zuckschwerdt <zany@triq.net> 
    25 #  updated according to SPD Spec Rev 1.2B 
    26 #  see http://developer.intel.com/technology/memory/pc133sdram/spec/Spdsd12b.htm 
    27 # Version 0.7  2002-11-08  Jean Delvare <khali@linux-fr.org> 
    28 #  pass -w and use strict 
    29 #  valid HTML 3.2 output (--format mode) 
    30 #  miscellaneous formatting enhancements and bug fixes 
    31 #  clearer HTML output (original patch by Nick Kurshev <nickols_k@mail.ru>) 
    32 #  stop decoding on checksum error by default (--checksum option forces) 
    33 # Version 0.8  2005-06-20  Burkart Lingner <burkart@bollchen.de> 
    34 #  adapted to Kernel 2.6's /sys filesystem 
    35 # Version 0.9  2005-07-15  Jean Delvare <khali@linux-fr.org> 
    36 #  fix perl warning 
    37 #  fix typo 
    38 #  refactor some code 
    39 # Version 1.0  2005-09-18  Jean Delvare <khali@linux-fr.org> 
    40 #  add large lookup tables for manufacturer names, based on data 
    41 #  provided by Rudolf Marek, taken from: 
    42 #  http://www.jedec.org/download/search/JEP106r.pdf 
    43 # Version 1.1  2006-01-22  Jean Delvare <khali@linux-fr.org> 
    44 #  improve the text output, making it hopefully clearer 
    45 #  read eeprom by 64-byte blocks, this allows some code cleanups 
    46 #  use sysopen/sysread instead of open/read for better performance 
    47 #  verify checksum before decoding anything 
    48 # Version 1.2  2006-05-15  Jean Delvare <khali@linux-fr.org> 
    49 #  implement per-memory-type decoding 
    50 #  don't decode revision code, manufacturing date and assembly serial 
    51 #  number where not set 
    52 #  decode the manufacturing date to an ISO8601 date 
    53 # Version 1.3  2006-05-21  Jean Delvare <khali@linux-fr.org> 
    54 #  detect undefined manufacturer code and handle it properly 
    55 #  round up timing data 
    56 #  minor display adjustments 
    57 #  group cycle and access times, display the CAS value for each (SDRAM) 
    58 #  refactor some bitfield tests into loops (SDRAM) 
    59 #  display latencies and burst length on a single line (SDRAM) 
    60 #  don't display manufacturing location when undefined 
    61 #  check that the manufacturing date is proper BCD, else fall back to 
    62 #  hexadecimal display 
    63 # Version 1.4  2006-05-26  Jean Delvare <khali@linux-fr.org> 
    64 #  fix latencies decoding (SDRAM) 
    65 #  fix CAS latency decoding (DDR SDRAM) 
    66 #  decode latencies, timings and module height (DDR SDRAM) 
    67 #  decode size (Direct Rambus, Rambus) 
    68 #  decode latencies and timings (DDR2 SDRAM) 
    69 #  SPD revision decoding depends on memory type 
    70 #  use more user-friendly labels 
    71 #  fix HTML formatted output on checksum error 
    72 # Version 1.5  2007-11-08  Jean Delvare <khali@linux-fr.org> 
    73 #  fix module speed (DDR2 SDRAM) 
    74 # 
    75 # 
    76 # EEPROM data decoding for SDRAM DIMM modules.  
    7724# 
    7825# The eeprom driver must be loaded. For kernels older than 2.6.0, the