Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215965
b: refs/heads/master
c: 116389e
h: refs/heads/master
i:
  215963: 68b8afd
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 30, 2010
1 parent 116bf9e commit 2422fc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3af2eaf7a3257f7b44165ec487215574c47fd32
refs/heads/master: 116389ed21e4ad88f65e7ec5ed6ca224acb89115
9 changes: 9 additions & 0 deletions trunk/drivers/edac/i7300_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,15 @@ static int decode_mtr(struct i7300_pvt *pvt,
p_csrow->grain = 8;
p_csrow->nr_pages = dinfo->megabytes << 8;
p_csrow->mtype = MEM_FB_DDR2;

/*
* FIXME: the type of error detection actually depends of the
* mode of operation. When it is just one single memory chip, at
* socket 0, channel 0, it uses 8-byte-over-32-byte SECDED+ code.
* In normal or mirrored mode, it uses Single Device Data correction,
* with the possibility of using an extended algorithm for x8 memories
* See datasheet Sections 7.3.6 to 7.3.8
*/
p_csrow->edac_mode = EDAC_S8ECD8ED;

/* ask what device type on this row */
Expand Down

0 comments on commit 2422fc0

Please sign in to comment.