From c389918f9c64976402a9d49388451bf34390862e Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sun, 9 Mar 2003 00:23:46 +0000 Subject: [PATCH] recognize DDR and Rambus types git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1718 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/eeprom/decode-dimms.pl | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGES b/CHANGES index 86e0001f..a3cfb215 100644 --- a/CHANGES +++ b/CHANGES @@ -36,6 +36,7 @@ ask CVS about it: Modules mtp008, smsc47m1, vt1211, vt8231, w83781d: Standardize and improve pwm and pwm enable support; update docs Module w83627hf: New + Program decode-dimms.pl: Recognize DDR and Rambus Program lm_sensors.init: Call sensors -s in start() Program mkpatch: Fix vt8231 compile; keep tsunami from menu on non-alpha Program pwmtest: New diff --git a/prog/eeprom/decode-dimms.pl b/prog/eeprom/decode-dimms.pl index a2db9e6e..ef60ebbc 100755 --- a/prog/eeprom/decode-dimms.pl +++ b/prog/eeprom/decode-dimms.pl @@ -184,6 +184,8 @@ for my $i ( 0 .. $#dimm_list ) { $l = "Fundemental Memory type"; if ($bytes[2] == 2) { printl $l, "EDO"; } elsif ($bytes[2] == 4) { printl $l, "SDRAM"; } + elsif ($bytes[2] == 7) { printl $l, "DDR"; } + elsif ($bytes[2] == 17) { printl $l, "Rambus"; } else { printl $l, "???"; } $l = "Number of Row Address Bits (SDRAM only)";