From: Lu Zhihe <[email protected]>
Intel X38 MCHBAR is a 64bits register, base from 0x48,
so its higher base is 0x4C.
Signed-off-by: Lu Zhihe <[email protected]>
Signed-off-by: Doug Thompson <[email protected]>
---
diff -uprN linux-2.6.31-rc2.orig/drivers/edac/x38_edac.c linux-2.6.31-rc2/drivers/edac/x38_edac.c
--- linux-2.6.31-rc2.orig/drivers/edac/x38_edac.c 2009-07-08 22:36:26.000000000 +0000
+++ linux-2.6.31-rc2/drivers/edac/x38_edac.c 2009-07-10 22:23:42.000000000 +0000
@@ -30,7 +30,7 @@
/* Intel X38 register addresses - device 0 function 0 - DRAM Controller */
#define X38_MCHBAR_LOW 0x48 /* MCH Memory Mapped Register BAR */
-#define X38_MCHBAR_HIGH 0x4b
+#define X38_MCHBAR_HIGH 0x4c
#define X38_MCHBAR_MASK 0xfffffc000ULL /* bits 35:14 */
#define X38_MMR_WINDOW_SIZE 16384