1384740dcSRalf Baechle /* 2384740dcSRalf Baechle * This file is subject to the terms and conditions of the GNU General Public 3384740dcSRalf Baechle * License. See the file "COPYING" in the main directory of this archive 4384740dcSRalf Baechle * for more details. 5384740dcSRalf Baechle * 6384740dcSRalf Baechle * Copyright (C) 2000 Harald Koerfgen 7384740dcSRalf Baechle */ 8384740dcSRalf Baechle 9384740dcSRalf Baechle #ifndef __ASM_IP32_INTS_H 10384740dcSRalf Baechle #define __ASM_IP32_INTS_H 11384740dcSRalf Baechle 12384740dcSRalf Baechle #include <asm/irq.h> 13384740dcSRalf Baechle 14384740dcSRalf Baechle /* 15384740dcSRalf Baechle * This list reflects the assignment of interrupt numbers to 16384740dcSRalf Baechle * interrupting events. Order is fairly irrelevant to handling 17384740dcSRalf Baechle * priority. This differs from irix. 18384740dcSRalf Baechle */ 19384740dcSRalf Baechle 20384740dcSRalf Baechle enum ip32_irq_no { 21384740dcSRalf Baechle /* 22384740dcSRalf Baechle * CPU interrupts are 0 ... 7 23384740dcSRalf Baechle */ 24384740dcSRalf Baechle 25384740dcSRalf Baechle CRIME_IRQ_BASE = MIPS_CPU_IRQ_BASE + 8, 26384740dcSRalf Baechle 27384740dcSRalf Baechle /* 28384740dcSRalf Baechle * MACE 29384740dcSRalf Baechle */ 30384740dcSRalf Baechle MACE_VID_IN1_IRQ = CRIME_IRQ_BASE, 31384740dcSRalf Baechle MACE_VID_IN2_IRQ, 32384740dcSRalf Baechle MACE_VID_OUT_IRQ, 33384740dcSRalf Baechle MACE_ETHERNET_IRQ, 34384740dcSRalf Baechle /* SUPERIO, MISC, and AUDIO are MACEISA */ 35384740dcSRalf Baechle __MACE_SUPERIO, 36384740dcSRalf Baechle __MACE_MISC, 37384740dcSRalf Baechle __MACE_AUDIO, 38384740dcSRalf Baechle MACE_PCI_BRIDGE_IRQ, 39384740dcSRalf Baechle 40384740dcSRalf Baechle /* 41384740dcSRalf Baechle * MACEPCI 42384740dcSRalf Baechle */ 43384740dcSRalf Baechle MACEPCI_SCSI0_IRQ, 44384740dcSRalf Baechle MACEPCI_SCSI1_IRQ, 45384740dcSRalf Baechle MACEPCI_SLOT0_IRQ, 46384740dcSRalf Baechle MACEPCI_SLOT1_IRQ, 47384740dcSRalf Baechle MACEPCI_SLOT2_IRQ, 48384740dcSRalf Baechle MACEPCI_SHARED0_IRQ, 49384740dcSRalf Baechle MACEPCI_SHARED1_IRQ, 50384740dcSRalf Baechle MACEPCI_SHARED2_IRQ, 51384740dcSRalf Baechle 52384740dcSRalf Baechle /* 53384740dcSRalf Baechle * CRIME 54384740dcSRalf Baechle */ 55384740dcSRalf Baechle CRIME_GBE0_IRQ, 56384740dcSRalf Baechle CRIME_GBE1_IRQ, 57384740dcSRalf Baechle CRIME_GBE2_IRQ, 58384740dcSRalf Baechle CRIME_GBE3_IRQ, 59384740dcSRalf Baechle CRIME_CPUERR_IRQ, 60384740dcSRalf Baechle CRIME_MEMERR_IRQ, 61384740dcSRalf Baechle CRIME_RE_EMPTY_E_IRQ, 62384740dcSRalf Baechle CRIME_RE_FULL_E_IRQ, 63384740dcSRalf Baechle CRIME_RE_IDLE_E_IRQ, 64384740dcSRalf Baechle CRIME_RE_EMPTY_L_IRQ, 65384740dcSRalf Baechle CRIME_RE_FULL_L_IRQ, 66384740dcSRalf Baechle CRIME_RE_IDLE_L_IRQ, 67384740dcSRalf Baechle CRIME_SOFT0_IRQ, 68384740dcSRalf Baechle CRIME_SOFT1_IRQ, 69384740dcSRalf Baechle CRIME_SOFT2_IRQ, 70384740dcSRalf Baechle CRIME_SYSCORERR_IRQ = CRIME_SOFT2_IRQ, 71384740dcSRalf Baechle CRIME_VICE_IRQ, 72384740dcSRalf Baechle 73384740dcSRalf Baechle /* 74384740dcSRalf Baechle * MACEISA 75384740dcSRalf Baechle */ 76384740dcSRalf Baechle MACEISA_AUDIO_SW_IRQ, 77384740dcSRalf Baechle MACEISA_AUDIO_SC_IRQ, 78384740dcSRalf Baechle MACEISA_AUDIO1_DMAT_IRQ, 79384740dcSRalf Baechle MACEISA_AUDIO1_OF_IRQ, 80384740dcSRalf Baechle MACEISA_AUDIO2_DMAT_IRQ, 81384740dcSRalf Baechle MACEISA_AUDIO2_MERR_IRQ, 82384740dcSRalf Baechle MACEISA_AUDIO3_DMAT_IRQ, 83384740dcSRalf Baechle MACEISA_AUDIO3_MERR_IRQ, 84384740dcSRalf Baechle MACEISA_RTC_IRQ, 85384740dcSRalf Baechle MACEISA_KEYB_IRQ, 86384740dcSRalf Baechle /* MACEISA_KEYB_POLL is not an IRQ */ 87384740dcSRalf Baechle __MACEISA_KEYB_POLL, 88384740dcSRalf Baechle MACEISA_MOUSE_IRQ, 89384740dcSRalf Baechle /* MACEISA_MOUSE_POLL is not an IRQ */ 90384740dcSRalf Baechle __MACEISA_MOUSE_POLL, 91384740dcSRalf Baechle MACEISA_TIMER0_IRQ, 92384740dcSRalf Baechle MACEISA_TIMER1_IRQ, 93384740dcSRalf Baechle MACEISA_TIMER2_IRQ, 94384740dcSRalf Baechle MACEISA_PARALLEL_IRQ, 95384740dcSRalf Baechle MACEISA_PAR_CTXA_IRQ, 96384740dcSRalf Baechle MACEISA_PAR_CTXB_IRQ, 97384740dcSRalf Baechle MACEISA_PAR_MERR_IRQ, 98384740dcSRalf Baechle MACEISA_SERIAL1_IRQ, 99384740dcSRalf Baechle MACEISA_SERIAL1_TDMAT_IRQ, 100384740dcSRalf Baechle MACEISA_SERIAL1_TDMAPR_IRQ, 101384740dcSRalf Baechle MACEISA_SERIAL1_TDMAME_IRQ, 102384740dcSRalf Baechle MACEISA_SERIAL1_RDMAT_IRQ, 103384740dcSRalf Baechle MACEISA_SERIAL1_RDMAOR_IRQ, 104384740dcSRalf Baechle MACEISA_SERIAL2_IRQ, 105384740dcSRalf Baechle MACEISA_SERIAL2_TDMAT_IRQ, 106384740dcSRalf Baechle MACEISA_SERIAL2_TDMAPR_IRQ, 107384740dcSRalf Baechle MACEISA_SERIAL2_TDMAME_IRQ, 108384740dcSRalf Baechle MACEISA_SERIAL2_RDMAT_IRQ, 109384740dcSRalf Baechle MACEISA_SERIAL2_RDMAOR_IRQ, 110384740dcSRalf Baechle 111384740dcSRalf Baechle IP32_IRQ_MAX = MACEISA_SERIAL2_RDMAOR_IRQ 112384740dcSRalf Baechle }; 113384740dcSRalf Baechle 114384740dcSRalf Baechle #endif /* __ASM_IP32_INTS_H */ 115