]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
edac: x38 fix mchbar high register addr
authorLu Zhihe <tombowfly@gmail.com>
Wed, 29 Jul 2009 22:02:09 +0000 (15:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Aug 2009 21:18:26 +0000 (14:18 -0700)
commit 3d768213a6c34a27fac1804143da8cf18b8b175f upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/edac/x38_edac.c

index 2406c2ce2844a235d181bb0c43be47fcd96dcd34..d4ec6059317604e40aae2e705b50f636dc26c4b9 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