aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorWan Wei <onewayforever@gmail.com>2009-07-27 08:34:15 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-07-27 08:42:24 -0400
commit4afcd2dcc6d89da696fc9d469a909adafa9d3636 (patch)
tree510863545655df5607429cef562487d512a1684b /drivers/edac
parent4be3bd7849165e7efa6b0b35a23d6a3598d97465 (diff)
amd64_edac: read the right F2 maskoffset reg
Signed-off-by: Wan Wei <onewayforever@gmail.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/amd64_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 858fe6037223..24964c1d0af9 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -970,7 +970,7 @@ static void amd64_read_dct_base_mask(struct amd64_pvt *pvt)
970 } 970 }
971 971
972 for (cs = 0; cs < pvt->num_dcsm; cs++) { 972 for (cs = 0; cs < pvt->num_dcsm; cs++) {
973 reg = K8_DCSB0 + (cs * 4); 973 reg = K8_DCSM0 + (cs * 4);
974 err = pci_read_config_dword(pvt->dram_f2_ctl, reg, 974 err = pci_read_config_dword(pvt->dram_f2_ctl, reg,
975 &pvt->dcsm0[cs]); 975 &pvt->dcsm0[cs]);
976 if (unlikely(err)) 976 if (unlikely(err))