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>
这个提交包含在:
Borislav Petkov
2010-10-01 18:38:19 +02:00
父节点 9f56da0e3c
当前提交 395ae783b3
修改 2 个文件,包含 28 行新增19 行删除

查看文件

@@ -461,6 +461,9 @@ struct amd64_pvt {
/* MC Type Index value: socket F vs Family 10h */
u32 mc_type_index;
/* DCT per-family scrubrate setting */
u32 min_scrubrate;
/* misc settings */
struct flags {
unsigned long cf8_extcfg:1;