The x86 timer interrupt handler is the only handler not traced in the
[linux-2.6/next.git] / arch / mips / include / asm / mach-ath79 / irq.h
blob189bc6eb9c10d1884fe51c3d22da31272d3ca04a
1 /*
2 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
3 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published
7 * by the Free Software Foundation.
8 */
9 #ifndef __ASM_MACH_ATH79_IRQ_H
10 #define __ASM_MACH_ATH79_IRQ_H
12 #define MIPS_CPU_IRQ_BASE 0
13 #define NR_IRQS 16
15 #define ATH79_MISC_IRQ_BASE 8
16 #define ATH79_MISC_IRQ_COUNT 8
18 #define ATH79_CPU_IRQ_IP2 (MIPS_CPU_IRQ_BASE + 2)
19 #define ATH79_CPU_IRQ_USB (MIPS_CPU_IRQ_BASE + 3)
20 #define ATH79_CPU_IRQ_GE0 (MIPS_CPU_IRQ_BASE + 4)
21 #define ATH79_CPU_IRQ_GE1 (MIPS_CPU_IRQ_BASE + 5)
22 #define ATH79_CPU_IRQ_MISC (MIPS_CPU_IRQ_BASE + 6)
23 #define ATH79_CPU_IRQ_TIMER (MIPS_CPU_IRQ_BASE + 7)
25 #define ATH79_MISC_IRQ_TIMER (ATH79_MISC_IRQ_BASE + 0)
26 #define ATH79_MISC_IRQ_ERROR (ATH79_MISC_IRQ_BASE + 1)
27 #define ATH79_MISC_IRQ_GPIO (ATH79_MISC_IRQ_BASE + 2)
28 #define ATH79_MISC_IRQ_UART (ATH79_MISC_IRQ_BASE + 3)
29 #define ATH79_MISC_IRQ_WDOG (ATH79_MISC_IRQ_BASE + 4)
30 #define ATH79_MISC_IRQ_PERFC (ATH79_MISC_IRQ_BASE + 5)
31 #define ATH79_MISC_IRQ_OHCI (ATH79_MISC_IRQ_BASE + 6)
32 #define ATH79_MISC_IRQ_DMA (ATH79_MISC_IRQ_BASE + 7)
34 #include_next <irq.h>
36 #endif /* __ASM_MACH_ATH79_IRQ_H */