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 John Crispin <blogic@openwrt.org> 7 */ 8 9 #ifndef _LANTIQ_XWAY_IRQ_H__ 10 #define _LANTIQ_XWAY_IRQ_H__ 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_IRQ0 + 32) 15 #define INT_NUM_IM2_IRL0 (INT_NUM_IRQ0 + 64) 16 #define INT_NUM_IM3_IRL0 (INT_NUM_IRQ0 + 96) 17 #define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128) 18 #define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) 19 20 #define LTQ_DMA_CH0_INT (INT_NUM_IM2_IRL0) 21 22 #define MIPS_CPU_TIMER_IRQ 7 23 24 #define MAX_IM 5 25 26 #endif 27