]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/sh/include/mach-se/mach/se7722.h
sh: mach-se: Convert SE7722 FPGA to dynamic IRQ allocation.
[mv-sheeva.git] / arch / sh / include / mach-se / mach / se7722.h
index e971d9a82f4a760606954949d9ab81c1eb6dd7a6..16505bfb8a9e5443ccc5b6102565f444d671dc47 100644 (file)
 #define SE7722_FPGA_IRQ_MRSHPC1        3 /* IRQ1 */
 #define SE7722_FPGA_IRQ_MRSHPC2        4 /* IRQ1 */
 #define SE7722_FPGA_IRQ_MRSHPC3        5 /* IRQ1 */
-
 #define SE7722_FPGA_IRQ_NR     6
-#define SE7722_FPGA_IRQ_BASE   110
-
-#define MRSHPC_IRQ3            (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_MRSHPC3)
-#define MRSHPC_IRQ2            (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_MRSHPC2)
-#define MRSHPC_IRQ1            (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_MRSHPC1)
-#define MRSHPC_IRQ0            (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_MRSHPC0)
-#define SMC_IRQ                (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_SMC)
-#define USB_IRQ                (SE7722_FPGA_IRQ_BASE + SE7722_FPGA_IRQ_USB)
 
 /* arch/sh/boards/se/7722/irq.c */
+extern unsigned int se7722_fpga_irq[];
+
 void init_se7722_IRQ(void);
 
 #define __IO_PREFIX            se7722