summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Zhihe <tombowfly@gmail.com>2009-07-29 15:02:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-29 19:10:34 -0700
commit3d768213a6c34a27fac1804143da8cf18b8b175f (patch)
tree71cc8c313d98c1122041e80752753143f862b80e
parent11c7da4b0ca76a57f51c996c883c480e203cf5a9 (diff)
downloadop-kernel-dev-3d768213a6c34a27fac1804143da8cf18b8b175f.zip
op-kernel-dev-3d768213a6c34a27fac1804143da8cf18b8b175f.tar.gz
edac: x38 fix mchbar high register addr
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>
-rw-r--r--drivers/edac/x38_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/x38_edac.c b/drivers/edac/x38_edac.c
index 2406c2c..d4ec605 100644
--- a/drivers/edac/x38_edac.c
+++ b/drivers/edac/x38_edac.c
@@ -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
OpenPOWER on IntegriCloud