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>
This commit is contained in:
committed by
Paul Mundt
parent
00e8c494a1
commit
c86c5a9104
31
arch/sh/boards/lboxre2/irq.c
Normal file
31
arch/sh/boards/lboxre2/irq.c
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* linux/arch/sh/boards/lboxre2/irq.c
|
||||
*
|
||||
* Copyright (C) 2007 Nobuhiro Iwamatsu
|
||||
*
|
||||
* NTT COMWARE L-BOX RE2 Support.
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU General Public
|
||||
* License. See the file "COPYING" in the main directory of this archive
|
||||
* for more details.
|
||||
*
|
||||
*/
|
||||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/irq.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/lboxre2.h>
|
||||
|
||||
/*
|
||||
* Initialize IRQ setting
|
||||
*/
|
||||
void __init init_lboxre2_IRQ(void)
|
||||
{
|
||||
make_imask_irq(IRQ_CF1);
|
||||
make_imask_irq(IRQ_CF0);
|
||||
make_imask_irq(IRQ_INTD);
|
||||
make_imask_irq(IRQ_ETH1);
|
||||
make_imask_irq(IRQ_ETH0);
|
||||
make_imask_irq(IRQ_INTA);
|
||||
}
|
Reference in New Issue
Block a user