edac: x38 fix mchbar high register addr
authorLu Zhihe <tombowfly@gmail.com>
Wed, 29 Jul 2009 22:02:09 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jul 2009 02:10:34 +0000 (19:10 -0700)
Intel X38 MCHBAR is a 64bits register, base from 0x48, so its higher base
is 0x4C.

Signed-off-by: Lu Zhihe <tombowfly@gmail.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: <stable@kernel.org> [2.6.30.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/x38_edac.c

index 2406c2c..d4ec605 100644 (file)
@@ -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