18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
38c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
48c2ecf20Sopenharmony_ci * for more details.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Copyright (C) 2000 Harald Koerfgen
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef __ASM_IP32_INTS_H
108c2ecf20Sopenharmony_ci#define __ASM_IP32_INTS_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <asm/irq.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * This list reflects the assignment of interrupt numbers to
168c2ecf20Sopenharmony_ci * interrupting events.	 Order is fairly irrelevant to handling
178c2ecf20Sopenharmony_ci * priority.  This differs from irix.
188c2ecf20Sopenharmony_ci */
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cienum ip32_irq_no {
218c2ecf20Sopenharmony_ci	/*
228c2ecf20Sopenharmony_ci	 * CPU interrupts are 0 ... 7
238c2ecf20Sopenharmony_ci	 */
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	CRIME_IRQ_BASE			= MIPS_CPU_IRQ_BASE + 8,
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	/*
288c2ecf20Sopenharmony_ci	 * MACE
298c2ecf20Sopenharmony_ci	 */
308c2ecf20Sopenharmony_ci	MACE_VID_IN1_IRQ		= CRIME_IRQ_BASE,
318c2ecf20Sopenharmony_ci	MACE_VID_IN2_IRQ,
328c2ecf20Sopenharmony_ci	MACE_VID_OUT_IRQ,
338c2ecf20Sopenharmony_ci	MACE_ETHERNET_IRQ,
348c2ecf20Sopenharmony_ci	/* SUPERIO, MISC, and AUDIO are MACEISA */
358c2ecf20Sopenharmony_ci	__MACE_SUPERIO,
368c2ecf20Sopenharmony_ci	__MACE_MISC,
378c2ecf20Sopenharmony_ci	__MACE_AUDIO,
388c2ecf20Sopenharmony_ci	MACE_PCI_BRIDGE_IRQ,
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci	/*
418c2ecf20Sopenharmony_ci	 * MACEPCI
428c2ecf20Sopenharmony_ci	 */
438c2ecf20Sopenharmony_ci	MACEPCI_SCSI0_IRQ,
448c2ecf20Sopenharmony_ci	MACEPCI_SCSI1_IRQ,
458c2ecf20Sopenharmony_ci	MACEPCI_SLOT0_IRQ,
468c2ecf20Sopenharmony_ci	MACEPCI_SLOT1_IRQ,
478c2ecf20Sopenharmony_ci	MACEPCI_SLOT2_IRQ,
488c2ecf20Sopenharmony_ci	MACEPCI_SHARED0_IRQ,
498c2ecf20Sopenharmony_ci	MACEPCI_SHARED1_IRQ,
508c2ecf20Sopenharmony_ci	MACEPCI_SHARED2_IRQ,
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	/*
538c2ecf20Sopenharmony_ci	 * CRIME
548c2ecf20Sopenharmony_ci	 */
558c2ecf20Sopenharmony_ci	CRIME_GBE0_IRQ,
568c2ecf20Sopenharmony_ci	CRIME_GBE1_IRQ,
578c2ecf20Sopenharmony_ci	CRIME_GBE2_IRQ,
588c2ecf20Sopenharmony_ci	CRIME_GBE3_IRQ,
598c2ecf20Sopenharmony_ci	CRIME_CPUERR_IRQ,
608c2ecf20Sopenharmony_ci	CRIME_MEMERR_IRQ,
618c2ecf20Sopenharmony_ci	CRIME_RE_EMPTY_E_IRQ,
628c2ecf20Sopenharmony_ci	CRIME_RE_FULL_E_IRQ,
638c2ecf20Sopenharmony_ci	CRIME_RE_IDLE_E_IRQ,
648c2ecf20Sopenharmony_ci	CRIME_RE_EMPTY_L_IRQ,
658c2ecf20Sopenharmony_ci	CRIME_RE_FULL_L_IRQ,
668c2ecf20Sopenharmony_ci	CRIME_RE_IDLE_L_IRQ,
678c2ecf20Sopenharmony_ci	CRIME_SOFT0_IRQ,
688c2ecf20Sopenharmony_ci	CRIME_SOFT1_IRQ,
698c2ecf20Sopenharmony_ci	CRIME_SOFT2_IRQ,
708c2ecf20Sopenharmony_ci	CRIME_SYSCORERR_IRQ		= CRIME_SOFT2_IRQ,
718c2ecf20Sopenharmony_ci	CRIME_VICE_IRQ,
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci	/*
748c2ecf20Sopenharmony_ci	 * MACEISA
758c2ecf20Sopenharmony_ci	 */
768c2ecf20Sopenharmony_ci	MACEISA_AUDIO_SW_IRQ,
778c2ecf20Sopenharmony_ci	MACEISA_AUDIO_SC_IRQ,
788c2ecf20Sopenharmony_ci	MACEISA_AUDIO1_DMAT_IRQ,
798c2ecf20Sopenharmony_ci	MACEISA_AUDIO1_OF_IRQ,
808c2ecf20Sopenharmony_ci	MACEISA_AUDIO2_DMAT_IRQ,
818c2ecf20Sopenharmony_ci	MACEISA_AUDIO2_MERR_IRQ,
828c2ecf20Sopenharmony_ci	MACEISA_AUDIO3_DMAT_IRQ,
838c2ecf20Sopenharmony_ci	MACEISA_AUDIO3_MERR_IRQ,
848c2ecf20Sopenharmony_ci	MACEISA_RTC_IRQ,
858c2ecf20Sopenharmony_ci	MACEISA_KEYB_IRQ,
868c2ecf20Sopenharmony_ci	/* MACEISA_KEYB_POLL is not an IRQ */
878c2ecf20Sopenharmony_ci	__MACEISA_KEYB_POLL,
888c2ecf20Sopenharmony_ci	MACEISA_MOUSE_IRQ,
898c2ecf20Sopenharmony_ci	/* MACEISA_MOUSE_POLL is not an IRQ */
908c2ecf20Sopenharmony_ci	__MACEISA_MOUSE_POLL,
918c2ecf20Sopenharmony_ci	MACEISA_TIMER0_IRQ,
928c2ecf20Sopenharmony_ci	MACEISA_TIMER1_IRQ,
938c2ecf20Sopenharmony_ci	MACEISA_TIMER2_IRQ,
948c2ecf20Sopenharmony_ci	MACEISA_PARALLEL_IRQ,
958c2ecf20Sopenharmony_ci	MACEISA_PAR_CTXA_IRQ,
968c2ecf20Sopenharmony_ci	MACEISA_PAR_CTXB_IRQ,
978c2ecf20Sopenharmony_ci	MACEISA_PAR_MERR_IRQ,
988c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_IRQ,
998c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_TDMAT_IRQ,
1008c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_TDMAPR_IRQ,
1018c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_TDMAME_IRQ,
1028c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_RDMAT_IRQ,
1038c2ecf20Sopenharmony_ci	MACEISA_SERIAL1_RDMAOR_IRQ,
1048c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_IRQ,
1058c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_TDMAT_IRQ,
1068c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_TDMAPR_IRQ,
1078c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_TDMAME_IRQ,
1088c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_RDMAT_IRQ,
1098c2ecf20Sopenharmony_ci	MACEISA_SERIAL2_RDMAOR_IRQ,
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ci	IP32_IRQ_MAX			= MACEISA_SERIAL2_RDMAOR_IRQ
1128c2ecf20Sopenharmony_ci};
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci#endif /* __ASM_IP32_INTS_H */
115