diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-26 23:46:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-30 13:56:49 -0400 |
commit | 86002324cf8809c72858741ab20bb7a855654b4c (patch) | |
tree | cc4f7ada60eb29150b63b7d3515ee13cc8721d10 /drivers/edac/i7300_edac.c | |
parent | 5de6e07ed75ee29a302f50e149339ca747131121 (diff) |
i7300_edac: Clear the error bit after reading
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/i7300_edac.c')
-rw-r--r-- | drivers/edac/i7300_edac.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c index e617b4f79dd8..f2f171d0356a 100644 --- a/drivers/edac/i7300_edac.c +++ b/drivers/edac/i7300_edac.c | |||
@@ -299,6 +299,11 @@ static void i7300_process_error_global(struct mem_ctl_info *mci, | |||
299 | ARRAY_SIZE(ferr_global_hi_name)); | 299 | ARRAY_SIZE(ferr_global_hi_name)); |
300 | specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum); | 300 | specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum); |
301 | is_fatal = ferr_global_hi_is_fatal(errnum); | 301 | is_fatal = ferr_global_hi_is_fatal(errnum); |
302 | |||
303 | /* Clear the error bit */ | ||
304 | pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, | ||
305 | FERR_GLOBAL_HI, value); | ||
306 | |||
302 | goto error_global; | 307 | goto error_global; |
303 | } | 308 | } |
304 | 309 | ||
@@ -310,6 +315,11 @@ static void i7300_process_error_global(struct mem_ctl_info *mci, | |||
310 | ARRAY_SIZE(ferr_global_lo_name)); | 315 | ARRAY_SIZE(ferr_global_lo_name)); |
311 | specific = GET_ERR_FROM_TABLE(ferr_global_lo_name, errnum); | 316 | specific = GET_ERR_FROM_TABLE(ferr_global_lo_name, errnum); |
312 | is_fatal = ferr_global_lo_is_fatal(errnum); | 317 | is_fatal = ferr_global_lo_is_fatal(errnum); |
318 | |||
319 | /* Clear the error bit */ | ||
320 | pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, | ||
321 | FERR_GLOBAL_LO, value); | ||
322 | |||
313 | goto error_global; | 323 | goto error_global; |
314 | } | 324 | } |
315 | return; | 325 | return; |