Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215976
b: refs/heads/master
c: 28c2ce7
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 30, 2010
1 parent 8558f04 commit 1518f8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b330f67581db4f5301438cc0d9499f13314542d
refs/heads/master: 28c2ce7c8b275a8e6950bacb2dbad70b36a2996b
4 changes: 2 additions & 2 deletions trunk/drivers/edac/i7300_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,14 +583,14 @@ static int decode_mtr(struct i7300_pvt *pvt,
debugf2("\t\tECC code is 8-byte-over-32-byte SECDED+ code\n");
} else {
debugf2("\t\tECC code is on Lockstep mode\n");
if (MTR_DRAM_WIDTH(mtr))
if (MTR_DRAM_WIDTH(mtr) == 8)
p_csrow->edac_mode = EDAC_S8ECD8ED;
else
p_csrow->edac_mode = EDAC_S4ECD4ED;
}

/* ask what device type on this row */
if (MTR_DRAM_WIDTH(mtr)) {
if (MTR_DRAM_WIDTH(mtr) == 8) {
debugf2("\t\tScrub algorithm for x8 is on %s mode\n",
IS_SCRBALGO_ENHANCED(pvt->mc_settings) ?
"enhanced" : "normal");
Expand Down

0 comments on commit 1518f8c

Please sign in to comment.