]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-frv/mb93493-regs.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-2.6-omap-h63xx.git] / include / asm-frv / mb93493-regs.h
index c54aa9d14468142e17afc51c73cdf6a0ebc8e84c..8a1f6aac8cf1b78dc7fdb15f8bc67a4cf7dc7810 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/mb-regs.h>
 #include <asm/mb93493-irqs.h>
 
+#define __addr_MB93493(X)      ((volatile unsigned long *)(__region_CS3 + (X)))
 #define __get_MB93493(X)       ({ *(volatile unsigned long *)(__region_CS3 + (X)); })
 
 #define __set_MB93493(X,V)                                             \
@@ -26,6 +27,7 @@ do {                                                                  \
 #define __set_MB93493_STSR(X,V)        __set_MB93493(0x3c0 + (X) * 4, (V))
 #define MB93493_STSR_EN
 
+#define __addr_MB93493_IQSR(X) __addr_MB93493(0x3d0 + (X) * 4)
 #define __get_MB93493_IQSR(X)  __get_MB93493(0x3d0 + (X) * 4)
 #define __set_MB93493_IQSR(X,V)        __set_MB93493(0x3d0 + (X) * 4, (V))