patch-2.4.0-test2 linux/include/asm-sh/irq.h

Next file: linux/include/asm-sh/keyboard.h
Previous file: linux/include/asm-sh/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/include/asm-sh/irq.h linux/include/asm-sh/irq.h
@@ -43,7 +43,11 @@
 #elif defined(CONFIG_CPU_SUBTYPE_SH7708)
 #define NR_IRQS 32
 #elif defined(CONFIG_CPU_SUBTYPE_SH7709)
+#ifdef CONFIG_HD64461
+#define NR_IRQS 80		/* HD64461_IRQBASE+16, see hd64461.h */
+#else
 #define NR_IRQS 61
+#endif
 #endif
 
 extern void disable_irq(unsigned int);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)