patch-2.3.26 linux/include/asm-sh/irq.h
Next file: linux/include/asm-sh/mmu_context.h
Previous file: linux/include/asm-sh/ioctls.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sat Nov 6 10:40:31 1999
- Orig file:
v2.3.25/linux/include/asm-sh/irq.h
- Orig date:
Fri Oct 22 13:21:54 1999
diff -u --recursive --new-file v2.3.25/linux/include/asm-sh/irq.h linux/include/asm-sh/irq.h
@@ -9,10 +9,13 @@
*
*/
+#include <linux/config.h>
+
#define TIMER_IRQ 16 /* Hard-wired */
#define TIMER_IRP_OFFSET 12
#define TIMER_PRIORITY 1
+#if defined(__SH4__)
/*
* 48 = 32+16
*
@@ -21,6 +24,11 @@
*
*/
#define NR_IRQS 48
+#elif defined(CONFIG_CPU_SUBTYPE_SH7708)
+#define NR_IRQS 32
+#elif defined(CONFIG_CPU_SUBTYPE_SH7709)
+#define NR_IRQS 61
+#endif
extern void disable_irq(unsigned int);
extern void disable_irq_nosync(unsigned int);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)