diff options
Diffstat (limited to 'drivers/edac/i5100_edac.c')
-rw-r--r-- | drivers/edac/i5100_edac.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c index e9e7c2a29dc3..c4b5e5f868e8 100644 --- a/drivers/edac/i5100_edac.c +++ b/drivers/edac/i5100_edac.c | |||
@@ -431,10 +431,10 @@ static void i5100_handle_ce(struct mem_ctl_info *mci, | |||
431 | "bank %u, cas %u, ras %u\n", | 431 | "bank %u, cas %u, ras %u\n", |
432 | bank, cas, ras); | 432 | bank, cas, ras); |
433 | 433 | ||
434 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 434 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, |
435 | 0, 0, syndrome, | 435 | 0, 0, syndrome, |
436 | chan, rank, -1, | 436 | chan, rank, -1, |
437 | msg, detail, NULL); | 437 | msg, detail); |
438 | } | 438 | } |
439 | 439 | ||
440 | static void i5100_handle_ue(struct mem_ctl_info *mci, | 440 | static void i5100_handle_ue(struct mem_ctl_info *mci, |
@@ -453,10 +453,10 @@ static void i5100_handle_ue(struct mem_ctl_info *mci, | |||
453 | "bank %u, cas %u, ras %u\n", | 453 | "bank %u, cas %u, ras %u\n", |
454 | bank, cas, ras); | 454 | bank, cas, ras); |
455 | 455 | ||
456 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 456 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, |
457 | 0, 0, syndrome, | 457 | 0, 0, syndrome, |
458 | chan, rank, -1, | 458 | chan, rank, -1, |
459 | msg, detail, NULL); | 459 | msg, detail); |
460 | } | 460 | } |
461 | 461 | ||
462 | static void i5100_read_log(struct mem_ctl_info *mci, int chan, | 462 | static void i5100_read_log(struct mem_ctl_info *mci, int chan, |
@@ -859,8 +859,8 @@ static void __devinit i5100_init_csrows(struct mem_ctl_info *mci) | |||
859 | i5100_rank_to_slot(mci, chan, rank)); | 859 | i5100_rank_to_slot(mci, chan, rank)); |
860 | } | 860 | } |
861 | 861 | ||
862 | debugf2("dimm channel %d, rank %d, size %ld\n", | 862 | edac_dbg(2, "dimm channel %d, rank %d, size %ld\n", |
863 | chan, rank, (long)PAGES_TO_MiB(npages)); | 863 | chan, rank, (long)PAGES_TO_MiB(npages)); |
864 | } | 864 | } |
865 | } | 865 | } |
866 | 866 | ||
@@ -943,7 +943,7 @@ static int __devinit i5100_init_one(struct pci_dev *pdev, | |||
943 | goto bail_disable_ch1; | 943 | goto bail_disable_ch1; |
944 | } | 944 | } |
945 | 945 | ||
946 | mci->dev = &pdev->dev; | 946 | mci->pdev = &pdev->dev; |
947 | 947 | ||
948 | priv = mci->pvt_info; | 948 | priv = mci->pvt_info; |
949 | priv->ranksperchan = ranksperch; | 949 | priv->ranksperchan = ranksperch; |