All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation
@ 2011-01-25 17:08 Arvind R
  2011-02-17 15:46 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Arvind R @ 2011-01-25 17:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial

Subject: [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation

corrected mtype, and added dev_name,scrubmode initialisers
in i82975x struct mem_ctl initialisation

Signed-off-by: Arvind R. <arvino55@gmail.com>
---
 i82975x_edac.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff -up a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c
--- a/drivers/edac/i82975x_edac.c
+++ b/drivers/edac/i82975x_edac.c
@@ -511,18 +511,20 @@ static int i82975x_probe1(struct pci_dev

 	debugf3("%s(): init mci\n", __func__);
 	mci->dev = &pdev->dev;
-	mci->mtype_cap = MEM_FLAG_DDR;
+	mci->mtype_cap = MEM_FLAG_DDR2;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED;
 	mci->edac_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED;
 	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = I82975X_REVISION;
 	mci->ctl_name = i82975x_devs[dev_idx].ctl_name;
+	mci->dev_name = pci_name(pdev);
 	mci->edac_check = i82975x_check;
 	mci->ctl_page_to_phys = NULL;
 	debugf3("%s(): init pvt\n", __func__);
 	pvt = (struct i82975x_pvt *) mci->pvt_info;
 	pvt->mch_window = mch_window;
 	i82975x_init_csrows(mci, pdev, mch_window);
+	mci->scrub_mode = SCRUB_HW_SRC;
 	i82975x_get_error_info(mci, &discard);  /* clear counters */

 	/* finalize this instance of memory controller with edac core */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation
  2011-01-25 17:08 [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation Arvind R
@ 2011-02-17 15:46 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2011-02-17 15:46 UTC (permalink / raw)
  To: Arvind R; +Cc: linux-kernel

On Tue, 25 Jan 2011, Arvind R wrote:

> Subject: [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation
> 
> corrected mtype, and added dev_name,scrubmode initialisers
> in i82975x struct mem_ctl initialisation
> 
> Signed-off-by: Arvind R. <arvino55@gmail.com>
> ---
>  i82975x_edac.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-17 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 17:08 [PATCH 2.6.37 2/4] edac: correct i82975x mci initialisation Arvind R
2011-02-17 15:46 ` Jiri Kosina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.