Module Name: src
Committed By: msaitoh
Date: Mon Sep 5 04:06:55 UTC 2016
Modified Files:
src/sys/dev/ic: spdmemvar.h
Log Message:
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 Documet Release 6.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ic/spdmemvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/spdmemvar.h
diff -u src/sys/dev/ic/spdmemvar.h:1.11 src/sys/dev/ic/spdmemvar.h:1.12
--- src/sys/dev/ic/spdmemvar.h:1.11 Tue Jan 5 11:49:32 2016
+++ src/sys/dev/ic/spdmemvar.h Mon Sep 5 04:06:55 2016
@@ -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 @@ struct spdmem_rambus { /* Direct Ramb
} __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( \