162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
362306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
462306a36Sopenharmony_ci * for more details.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Copyright (C) 1999, 2000, 01, 02, 03 by Ralf Baechle
762306a36Sopenharmony_ci * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
862306a36Sopenharmony_ci * Copyright (C) 2001 Kanoj Sarcar
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci#ifndef __ASM_MACH_IP27_IRQ_H
1162306a36Sopenharmony_ci#define __ASM_MACH_IP27_IRQ_H
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#define NR_IRQS 256
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#include <asm/mach-generic/irq.h>
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#define IP27_HUB_PEND0_IRQ	(MIPS_CPU_IRQ_BASE + 2)
1862306a36Sopenharmony_ci#define IP27_HUB_PEND1_IRQ	(MIPS_CPU_IRQ_BASE + 3)
1962306a36Sopenharmony_ci#define IP27_RT_TIMER_IRQ	(MIPS_CPU_IRQ_BASE + 4)
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#define IP27_HUB_IRQ_BASE	(MIPS_CPU_IRQ_BASE + 8)
2262306a36Sopenharmony_ci#define IP27_HUB_IRQ_COUNT	128
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif /* __ASM_MACH_IP27_IRQ_H */
25