spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / mn10300 / proc-mn2ws0050 / include / proc / irq.h
blob37777a85ab6f17b8b3fb863ace86d8c8ca952d0f
1 /* MN2WS0050 on-board interrupt controller registers
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * Modified by Matsushita Electric Industrial Co., Ltd.
7 * Modifications:
8 * 13-Nov-2006 MEI Define extended IRQ number for SMP support.
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.
16 #ifndef _PROC_IRQ_H
17 #define _PROC_IRQ_H
19 #ifdef __KERNEL__
21 #define GxICR_NUM_IRQS 163
22 #ifdef CONFIG_SMP
23 #define GxICR_NUM_EXT_IRQS 197
24 #endif /* CONFIG_SMP */
26 #define GxICR_NUM_XIRQS 16
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
45 #define XIRQ2IRQ(num) (XIRQ0 + num)
47 #endif /* __KERNEL__ */
49 #endif /* _PROC_IRQ_H */