Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2003 by Ralf Baechle
0007  */
0008 #ifndef __ASM_MACH_GENERIC_IRQ_H
0009 #define __ASM_MACH_GENERIC_IRQ_H
0010 
0011 #ifndef NR_IRQS
0012 #define NR_IRQS 256
0013 #endif
0014 
0015 #ifdef CONFIG_I8259
0016 #ifndef I8259A_IRQ_BASE
0017 #define I8259A_IRQ_BASE 0
0018 #endif
0019 #endif
0020 
0021 #ifdef CONFIG_IRQ_MIPS_CPU
0022 
0023 #ifndef MIPS_CPU_IRQ_BASE
0024 #ifdef CONFIG_I8259
0025 #define MIPS_CPU_IRQ_BASE 16
0026 #else
0027 #define MIPS_CPU_IRQ_BASE 0
0028 #endif /* CONFIG_I8259 */
0029 #endif
0030 
0031 #endif /* CONFIG_IRQ_MIPS_CPU */
0032 
0033 #endif /* __ASM_MACH_GENERIC_IRQ_H */