diff options
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r-- | drivers/edac/amd64_edac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index b86228cce672..6952d432e62b 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -206,8 +206,8 @@ static int amd64_set_scrub_rate(struct mem_ctl_info *mci, u32 bw) | |||
206 | if (pvt->fam == 0xf) | 206 | if (pvt->fam == 0xf) |
207 | min_scrubrate = 0x0; | 207 | min_scrubrate = 0x0; |
208 | 208 | ||
209 | /* Erratum #505 for F15h Model 0x00 - Model 0x01, Stepping 0 */ | 209 | /* Erratum #505 */ |
210 | if (pvt->fam == 0x15 && pvt->model <= 0x01 && pvt->stepping < 0x1) | 210 | if (pvt->fam == 0x15 && pvt->model < 0x10) |
211 | f15h_select_dct(pvt, 0); | 211 | f15h_select_dct(pvt, 0); |
212 | 212 | ||
213 | return __amd64_set_scrub_rate(pvt->F3, bw, min_scrubrate); | 213 | return __amd64_set_scrub_rate(pvt->F3, bw, min_scrubrate); |
@@ -219,8 +219,8 @@ static int amd64_get_scrub_rate(struct mem_ctl_info *mci) | |||
219 | u32 scrubval = 0; | 219 | u32 scrubval = 0; |
220 | int i, retval = -EINVAL; | 220 | int i, retval = -EINVAL; |
221 | 221 | ||
222 | /* Erratum #505 for F15h Model 0x00 - Model 0x01, Stepping 0 */ | 222 | /* Erratum #505 */ |
223 | if (pvt->fam == 0x15 && pvt->model <= 0x01 && pvt->stepping < 0x1) | 223 | if (pvt->fam == 0x15 && pvt->model < 0x10) |
224 | f15h_select_dct(pvt, 0); | 224 | f15h_select_dct(pvt, 0); |
225 | 225 | ||
226 | amd64_read_pci_cfg(pvt->F3, SCRCTRL, &scrubval); | 226 | amd64_read_pci_cfg(pvt->F3, SCRCTRL, &scrubval); |