Merge branch 'drm-fixes-5.0' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / arch / mips / include / asm / mach-lantiq / falcon / falcon_irq.h
1 /*
2  *  This program is free software; you can redistribute it and/or modify it
3  *  under the terms of the GNU General Public License version 2 as published
4  *  by the Free Software Foundation.
5  *
6  *  Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com>
7  */
8
9 #ifndef _FALCON_IRQ__
10 #define _FALCON_IRQ__
11
12 #define INT_NUM_IRQ0                    8
13 #define INT_NUM_IM0_IRL0                (INT_NUM_IRQ0 + 0)
14 #define INT_NUM_IM1_IRL0                (INT_NUM_IM0_IRL0 + 32)
15 #define INT_NUM_IM2_IRL0                (INT_NUM_IM1_IRL0 + 32)
16 #define INT_NUM_IM3_IRL0                (INT_NUM_IM2_IRL0 + 32)
17 #define INT_NUM_IM4_IRL0                (INT_NUM_IM3_IRL0 + 32)
18 #define INT_NUM_EXTRA_START             (INT_NUM_IM4_IRL0 + 32)
19 #define INT_NUM_IM_OFFSET               (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0)
20
21 #define MAX_IM                  5
22
23 #endif /* _FALCON_IRQ__ */