diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2007-03-26 01:27:43 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:54 -0400 |
commit | c86c5a910451dd5a30e62a9e36d8e9b3c7a0c1d1 (patch) | |
tree | 69acbb65e61a8895dfdebfd70dc58f5d8d9dbe38 /arch/sh/boards/lboxre2/irq.c | |
parent | 00e8c494a1603eac0a2cae9836e624a752ad45b1 (diff) |
sh: L-BOX RE2 support.
This adds support for the L-BOX RE2 router.
http://www.nttcom.co.jp/l-box/
L-BOX RE2 is a SH7751R-based router. It has CF, Cardbus, serial,
and LAN x2. This is one of the very few SH boards that a general
person can obtain now.
The L-BOX shipped with a 2.4.28 kernel, this is a rewritten patch
adding it to current git.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/lboxre2/irq.c')
-rw-r--r-- | arch/sh/boards/lboxre2/irq.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/sh/boards/lboxre2/irq.c b/arch/sh/boards/lboxre2/irq.c new file mode 100644 index 000000000000..5a1c3bbe7b50 --- /dev/null +++ b/arch/sh/boards/lboxre2/irq.c | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/lboxre2/irq.c | ||
3 | * | ||
4 | * Copyright (C) 2007 Nobuhiro Iwamatsu | ||
5 | * | ||
6 | * NTT COMWARE L-BOX RE2 Support. | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | * | ||
12 | */ | ||
13 | #include <linux/init.h> | ||
14 | #include <linux/interrupt.h> | ||
15 | #include <linux/irq.h> | ||
16 | #include <asm/irq.h> | ||
17 | #include <asm/io.h> | ||
18 | #include <asm/lboxre2.h> | ||
19 | |||
20 | /* | ||
21 | * Initialize IRQ setting | ||
22 | */ | ||
23 | void __init init_lboxre2_IRQ(void) | ||
24 | { | ||
25 | make_imask_irq(IRQ_CF1); | ||
26 | make_imask_irq(IRQ_CF0); | ||
27 | make_imask_irq(IRQ_INTD); | ||
28 | make_imask_irq(IRQ_ETH1); | ||
29 | make_imask_irq(IRQ_ETH0); | ||
30 | make_imask_irq(IRQ_INTA); | ||
31 | } | ||