diff options
Diffstat (limited to 'arch/mn10300/proc-mn103e010/include/proc/irq.h')
| -rw-r--r-- | arch/mn10300/proc-mn103e010/include/proc/irq.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/mn10300/proc-mn103e010/include/proc/irq.h b/arch/mn10300/proc-mn103e010/include/proc/irq.h new file mode 100644 index 000000000000..aa6ee8f98b1b --- /dev/null +++ b/arch/mn10300/proc-mn103e010/include/proc/irq.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* MN103E010 On-board interrupt controller numbers | ||
| 2 | * | ||
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | ||
| 4 | * Written by David Howells (dhowells@redhat.com) | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef _ASM_PROC_IRQ_H | ||
| 13 | #define _ASM_PROC_IRQ_H | ||
| 14 | |||
| 15 | #ifdef __KERNEL__ | ||
| 16 | |||
| 17 | #define GxICR_NUM_IRQS 42 | ||
| 18 | |||
| 19 | #define GxICR_NUM_XIRQS 8 | ||
| 20 | |||
| 21 | #define XIRQ0 34 | ||
| 22 | #define XIRQ1 35 | ||
| 23 | #define XIRQ2 36 | ||
| 24 | #define XIRQ3 37 | ||
| 25 | #define XIRQ4 38 | ||
| 26 | #define XIRQ5 39 | ||
| 27 | #define XIRQ6 40 | ||
| 28 | #define XIRQ7 41 | ||
| 29 | |||
| 30 | #define XIRQ2IRQ(num) (XIRQ0 + num) | ||
| 31 | |||
| 32 | #endif /* __KERNEL__ */ | ||
| 33 | |||
| 34 | #endif /* _ASM_PROC_IRQ_H */ | ||
