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

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