Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
28c2ce7c
Commit
28c2ce7c
authored
Aug 27, 2010
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i7300_edac: Fix MTR x4/x8 detection logic
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
3b330f67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/edac/i7300_edac.c
drivers/edac/i7300_edac.c
+2
-2
No files found.
drivers/edac/i7300_edac.c
View file @
28c2ce7c
...
...
@@ -583,14 +583,14 @@ static int decode_mtr(struct i7300_pvt *pvt,
debugf2
(
"
\t\t
ECC code is 8-byte-over-32-byte SECDED+ code
\n
"
);
}
else
{
debugf2
(
"
\t\t
ECC 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\t
Scrub algorithm for x8 is on %s mode
\n
"
,
IS_SCRBALGO_ENHANCED
(
pvt
->
mc_settings
)
?
"enhanced"
:
"normal"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment