patch-1.3.28 linux/include/asm-alpha/irq.h
Next file: linux/include/asm-i386/irq.h
Previous file: linux/fs/xiafs/namei.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Sep 15 11:23:05 1995
- Orig file:
v1.3.27/linux/include/asm-alpha/irq.h
- Orig date:
Fri Jun 2 13:51:16 1995
diff -u --recursive --new-file v1.3.27/linux/include/asm-alpha/irq.h linux/include/asm-alpha/irq.h
@@ -8,6 +8,16 @@
*/
#include <linux/linkage.h>
+#include <linux/config.h>
+
+#if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
+# define NR_IRQS 33
+#elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
+# define NR_IRQS 32
+#else
+# define NR_IRQS 16
+#endif
+
extern void disable_irq(unsigned int);
extern void enable_irq(unsigned int);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this