MN10300: Fix ASB2364 FPGA register defs
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:53 +0000 (16:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:53 +0000 (16:52 +0000)
Fix the definition of the ASB2364 FPGA IRQ detect registers.  They accidentally
got defined to be the same as the mask registers when the patches were being
ported to the upstream kernel.

Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/unit-asb2364/include/unit/fpga-regs.h

index 7cf1205..33f100f 100644 (file)
@@ -14,7 +14,7 @@
 #define ASB2364_FPGA_REG_RESET_USB     __SYSREG(0xa900130c, u16)
 #define ASB2364_FPGA_REG_RESET_AV      __SYSREG(0xa9001310, u16)
 
-#define ASB2364_FPGA_REG_IRQ(X)                __SYSREG(0xa9001590+((X)*4), u16)
+#define ASB2364_FPGA_REG_IRQ(X)                __SYSREG(0xa9001510+((X)*4), u16)
 #define ASB2364_FPGA_REG_IRQ_LAN       ASB2364_FPGA_REG_IRQ(0)
 #define ASB2364_FPGA_REG_IRQ_UART      ASB2364_FPGA_REG_IRQ(1)
 #define ASB2364_FPGA_REG_IRQ_I2C       ASB2364_FPGA_REG_IRQ(2)