patch-2.3.30 linux/include/asm-alpha/irq.h
Next file: linux/include/asm-alpha/machvec.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index
- Lines: 69
- Date:
Mon Dec 6 17:15:53 1999
- Orig file:
v2.3.29/linux/include/asm-alpha/irq.h
- Orig date:
Fri May 14 12:41:23 1999
diff -u --recursive --new-file v2.3.29/linux/include/asm-alpha/irq.h linux/include/asm-alpha/irq.h
@@ -16,7 +16,7 @@
many places throughout the kernel to size static arrays. That's ok,
we'll use alpha_mv.nr_irqs when we want the real thing. */
-# define NR_IRQS 64
+# define NR_IRQS 128
#elif defined(CONFIG_ALPHA_CABRIOLET) || \
defined(CONFIG_ALPHA_EB66P) || \
@@ -43,45 +43,17 @@
# define NR_IRQS 40
#elif defined(CONFIG_ALPHA_DP264) || \
- defined(CONFIG_ALPHA_RAWHIDE)
+ defined(CONFIG_ALPHA_EIGER)
# define NR_IRQS 64
-#elif defined(CONFIG_ALPHA_TAKARA)
-# define NR_IRQS 20
+#elif defined(CONFIG_ALPHA_RAWHIDE) || \
+ defined(CONFIG_ALPHA_TAKARA)
+# define NR_IRQS 128
#else /* everyone else */
# define NR_IRQS 16
#endif
-/*
- * PROBE_MASK is the bitset of irqs that we consider for autoprobing.
- */
-
-/* The normal mask includes all the IRQs except the timer. */
-#define _PROBE_MASK(nr_irqs) (((1UL << (nr_irqs & 63)) - 1) & ~1UL)
-
-/* Mask out unused timer irq 0 and RTC irq 8. */
-#define P2K_PROBE_MASK (_PROBE_MASK(16) & ~0x101UL)
-
-/* Mask out unused timer irq 0, "irqs" 20-30, and the EISA cascade. */
-#define ALCOR_PROBE_MASK (_PROBE_MASK(48) & ~0xfff000000001UL)
-
-/* Leave timer irq 0 in the mask. */
-#define RUFFIAN_PROBE_MASK (_PROBE_MASK(48) | 1UL)
-
-#if defined(CONFIG_ALPHA_GENERIC)
-# define PROBE_MASK alpha_mv.irq_probe_mask
-#elif defined(CONFIG_ALPHA_P2K)
-# define PROBE_MASK P2K_PROBE_MASK
-#elif defined(CONFIG_ALPHA_ALCOR) || defined(CONFIG_ALPHA_XLT)
-# define PROBE_MASK ALCOR_PROBE_MASK
-#elif defined(CONFIG_ALPHA_RUFFIAN)
-# define PROBE_MASK RUFFIAN_PROBE_MASK
-#else
-# define PROBE_MASK _PROBE_MASK(NR_IRQS)
-#endif
-
-
static __inline__ int irq_cannonicalize(int irq)
{
/*
@@ -94,9 +66,6 @@
extern void disable_irq(unsigned int);
extern void disable_irq_nosync(unsigned int);
extern void enable_irq(unsigned int);
-
-extern void irq_enter(int cpu, int irq);
-extern void irq_exit(int cpu, int irq);
struct pt_regs;
extern void (*perf_irq)(unsigned long, struct pt_regs *);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)