diff options
Diffstat (limited to 'arch/mn10300/proc-mn2ws0050/include/proc/irq.h')
-rw-r--r-- | arch/mn10300/proc-mn2ws0050/include/proc/irq.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/mn10300/proc-mn2ws0050/include/proc/irq.h b/arch/mn10300/proc-mn2ws0050/include/proc/irq.h new file mode 100644 index 000000000000..37777a85ab6f --- /dev/null +++ b/arch/mn10300/proc-mn2ws0050/include/proc/irq.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /* MN2WS0050 on-board interrupt controller registers | ||
2 | * | ||
3 | * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. | ||
4 | * Written by David Howells (dhowells@redhat.com) | ||
5 | * | ||
6 | * Modified by Matsushita Electric Industrial Co., Ltd. | ||
7 | * Modifications: | ||
8 | * 13-Nov-2006 MEI Define extended IRQ number for SMP support. | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or | ||
11 | * modify it under the terms of the GNU General Public License | ||
12 | * as published by the Free Software Foundation; either version | ||
13 | * 2 of the License, or (at your option) any later version. | ||
14 | */ | ||
15 | |||
16 | #ifndef _PROC_IRQ_H | ||
17 | #define _PROC_IRQ_H | ||
18 | |||
19 | #ifdef __KERNEL__ | ||
20 | |||
21 | #define GxICR_NUM_IRQS 163 | ||
22 | #ifdef CONFIG_SMP | ||
23 | #define GxICR_NUM_EXT_IRQS 197 | ||
24 | #endif /* CONFIG_SMP */ | ||
25 | |||
26 | #define GxICR_NUM_XIRQS 16 | ||
27 | |||
28 | #define XIRQ0 34 | ||
29 | #define XIRQ1 35 | ||
30 | #define XIRQ2 36 | ||
31 | #define XIRQ3 37 | ||
32 | #define XIRQ4 38 | ||
33 | #define XIRQ5 39 | ||
34 | #define XIRQ6 40 | ||
35 | #define XIRQ7 41 | ||
36 | #define XIRQ8 42 | ||
37 | #define XIRQ9 43 | ||
38 | #define XIRQ10 44 | ||
39 | #define XIRQ11 45 | ||
40 | #define XIRQ12 46 | ||
41 | #define XIRQ13 47 | ||
42 | #define XIRQ14 48 | ||
43 | #define XIRQ15 49 | ||
44 | |||
45 | #define XIRQ2IRQ(num) (XIRQ0 + num) | ||
46 | |||
47 | #endif /* __KERNEL__ */ | ||
48 | |||
49 | #endif /* _PROC_IRQ_H */ | ||