Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix the first two bytes' definitions of the DDR3 ...



details:   https://anonhg.NetBSD.org/src/rev/fd43bca6a089
branches:  trunk
changeset: 347601:fd43bca6a089
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Sep 05 04:06:55 2016 +0000

description:
Fix the first two bytes' definitions of the DDR3 SPD ROM. This was not a real
bug because the definitions haven't used. From JEDEC Standard No. 21-C Annex K:
Serial Presense Detect (SPD) for DDR3 SDRAM Modules Document Release 6.

diffstat:

 sys/dev/ic/spdmemvar.h |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 5e10c36e143d -r fd43bca6a089 sys/dev/ic/spdmemvar.h
--- a/sys/dev/ic/spdmemvar.h    Mon Sep 05 02:26:48 2016 +0000
+++ b/sys/dev/ic/spdmemvar.h    Mon Sep 05 04:06:55 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmemvar.h,v 1.11 2016/01/05 11:49:32 msaitoh Exp $ */
+/* $NetBSD: spdmemvar.h,v 1.12 2016/09/05 04:06:55 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2007 Paul Goyette
@@ -418,8 +418,12 @@
 } __packed;
 
 struct spdmem_ddr3 {                           /* Dual Data Rate 3 SDRAM */
-       uint8_t ddr3_len;
-       uint8_t ddr3_size;
+       SPD_BITFIELD(                           \
+               uint8_t ddr3_ROM_used:4,        \
+               uint8_t ddr3_ROM_size:3,        \
+               uint8_t ddr3_crccover:1,        \
+       );
+       uint8_t ddr3_romrev;
        uint8_t ddr3_type;
        uint8_t ddr3_mod_type;
        SPD_BITFIELD(                           \



Home | Main Index | Thread Index | Old Index