2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Harald Koerfgen
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_IP32_INTS_H
|
|
|
|
#define __ASM_IP32_INTS_H
|
|
|
|
|
2007-10-14 07:02:26 -06:00
|
|
|
#include <asm/irq.h>
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* This list reflects the assignment of interrupt numbers to
|
|
|
|
* interrupting events. Order is fairly irrelevant to handling
|
|
|
|
* priority. This differs from irix.
|
|
|
|
*/
|
|
|
|
|
2007-10-14 07:02:26 -06:00
|
|
|
enum ip32_irq_no {
|
|
|
|
/*
|
|
|
|
* CPU interrupts are 0 ... 7
|
|
|
|
*/
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2007-10-14 07:02:26 -06:00
|
|
|
/*
|
|
|
|
* MACE
|
|
|
|
*/
|
|
|
|
MACE_VID_IN1_IRQ = MIPS_CPU_IRQ_BASE + 8,
|
|
|
|
MACE_VID_IN2_IRQ,
|
|
|
|
MACE_VID_OUT_IRQ,
|
|
|
|
MACE_ETHERNET_IRQ,
|
|
|
|
/* SUPERIO, MISC, and AUDIO are MACEISA */
|
|
|
|
__MACE_SUPERIO,
|
|
|
|
__MACE_MISC,
|
|
|
|
__MACE_AUDIO,
|
|
|
|
MACE_PCI_BRIDGE_IRQ,
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2007-10-14 07:02:26 -06:00
|
|
|
/*
|
|
|
|
* MACEPCI
|
|
|
|
*/
|
|
|
|
MACEPCI_SCSI0_IRQ,
|
|
|
|
MACEPCI_SCSI1_IRQ,
|
|
|
|
MACEPCI_SLOT0_IRQ,
|
|
|
|
MACEPCI_SLOT1_IRQ,
|
|
|
|
MACEPCI_SLOT2_IRQ,
|
|
|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*/
|
|
|
|
__MACEISA_KEYB_POLL,
|
|
|
|
MACEISA_MOUSE_IRQ,
|
|
|
|
/* MACEISA_MOUSE_POLL is not an IRQ */
|
|
|
|
__MACEISA_MOUSE_POLL,
|
|
|
|
MACEISA_TIMER0_IRQ,
|
|
|
|
MACEISA_TIMER1_IRQ,
|
|
|
|
MACEISA_TIMER2_IRQ,
|
|
|
|
MACEISA_PARALLEL_IRQ,
|
|
|
|
MACEISA_PAR_CTXA_IRQ,
|
|
|
|
MACEISA_PAR_CTXB_IRQ,
|
|
|
|
MACEISA_PAR_MERR_IRQ,
|
|
|
|
MACEISA_SERIAL1_IRQ,
|
|
|
|
MACEISA_SERIAL1_TDMAT_IRQ,
|
|
|
|
MACEISA_SERIAL1_TDMAPR_IRQ,
|
|
|
|
MACEISA_SERIAL1_TDMAME_IRQ,
|
|
|
|
MACEISA_SERIAL1_RDMAT_IRQ,
|
|
|
|
MACEISA_SERIAL1_RDMAOR_IRQ,
|
|
|
|
MACEISA_SERIAL2_IRQ,
|
|
|
|
MACEISA_SERIAL2_TDMAT_IRQ,
|
|
|
|
MACEISA_SERIAL2_TDMAPR_IRQ,
|
|
|
|
MACEISA_SERIAL2_TDMAME_IRQ,
|
|
|
|
MACEISA_SERIAL2_RDMAT_IRQ,
|
|
|
|
MACEISA_SERIAL2_RDMAOR_IRQ,
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2007-10-14 07:02:26 -06:00
|
|
|
IP32_IRQ_MAX = MACEISA_SERIAL2_RDMAOR_IRQ
|
|
|
|
};
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
#endif /* __ASM_IP32_INTS_H */
|