[PATCH 1/1] edac: fix offset of reg in i3200_edac module

From: dougthompson
Date: Tue Aug 11 2009 - 10:54:26 EST


From: Jason Uhlenkott <juhlenko@xxxxxxxxxx>

Fix an obviously wrong hardware register offset, which was inheirited
from x38_edac (which was previously fixed).

Thanks to Lu Zhihe for spotting this.

Signed-off-by: Jason Uhlenkott <juhlenko@xxxxxxxxxx>
Signed-off-by: Doug Thompson <dougthompson@xxxxxxxxxxxx>
---
i3200_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.31-rc5/drivers/edac/i3200_edac.c
===================================================================
--- linux-2.6.31-rc5.orig/drivers/edac/i3200_edac.c 2009-08-10 09:56:10.000000000 -0600
+++ linux-2.6.31-rc5/drivers/edac/i3200_edac.c 2009-08-11 08:47:22.000000000 -0600
@@ -29,7 +29,7 @@
/* Intel 3200 register addresses - device 0 function 0 - DRAM Controller */

#define I3200_MCHBAR_LOW 0x48 /* MCH Memory Mapped Register BAR */
-#define I3200_MCHBAR_HIGH 0x4b
+#define I3200_MCHBAR_HIGH 0x4c
#define I3200_MCHBAR_MASK 0xfffffc000ULL /* bits 35:14 */
#define I3200_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/