aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-01 12:38:19 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2011-01-07 05:33:50 -0500
commit395ae783b384e5243804b07fba3e3f8379ddf1d6 (patch)
treed5b841a23508eed59caf67d7a4ee411e808b2860 /drivers/edac/amd64_edac.h
parent9f56da0e3c3269abe0b2745a54f1b082c3c14433 (diff)
amd64_edac: Add per-family init function
Run a per-family init function which does all the settings based on the family this driver instance is running on. Move the scrubrate calculation in it and simplify code. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index c8f27345ec76..e5204feda191 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -461,6 +461,9 @@ struct amd64_pvt {
461 /* MC Type Index value: socket F vs Family 10h */ 461 /* MC Type Index value: socket F vs Family 10h */
462 u32 mc_type_index; 462 u32 mc_type_index;
463 463
464 /* DCT per-family scrubrate setting */
465 u32 min_scrubrate;
466
464 /* misc settings */ 467 /* misc settings */
465 struct flags { 468 struct flags {
466 unsigned long cf8_extcfg:1; 469 unsigned long cf8_extcfg:1;