2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 1992 Linus Torvalds
7 * Copyright (C) 1994 - 2001 Ralf Baechle
9 #include <linux/delay.h>
10 #include <linux/init.h>
11 #include <linux/interrupt.h>
12 #include <linux/kernel.h>
13 #include <linux/spinlock.h>
15 #include <asm/i8259.h>
19 extern asmlinkage void jazz_handle_int(void);
22 * On systems with i8259-style interrupt controllers we assume for
23 * driver compatibility reasons interrupts 0 - 15 to be the i8259
24 * interrupts even if the hardware uses a different interrupt numbering.
26 void __init init_IRQ (void)
30 set_except_vector(0, jazz_handle_int);
33 init_i8259_irqs(); /* Integrated i8259 */
37 /* Actually we've got more interrupts to handle ... */
38 for (i = PCIMT_IRQ_INT2; i <= PCIMT_IRQ_ETHERNET; i++) {
39 irq_desc[i].status = IRQ_DISABLED;
40 irq_desc[i].action = 0;
41 irq_desc[i].depth = 1;
42 irq_desc[i].handler = &pciasic_irq_type;