[PATCH 3/4] edac: x83 fix mchbar high register addr

From: dougthompson
Date: Wed Jul 15 2009 - 13:52:37 EST


From: Lu Zhihe <tombowfly@xxxxxxxxx>

Intel X38 MCHBAR is a 64bits register, base from 0x48,
so its higher base is 0x4C.

Signed-off-by: Lu Zhihe <tombowfly@xxxxxxxxx>
Signed-off-by: Doug Thompson <dougthompson@xxxxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/