]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sh/boards/mach-edosk7705/setup.c
sh: intc: Update for single IRQ reservation helper.
[net-next-2.6.git] / arch / sh / boards / mach-edosk7705 / setup.c
CommitLineData
1da177e4
LT
1/*
2 * arch/sh/boards/renesas/edosk7705/setup.c
3 *
4 * Copyright (C) 2000 Kazumoto Kojima
5 *
6 * Hitachi SolutionEngine Support.
7 *
8 * Modified for edosk7705 development
9 * board by S. Dunn, 2003.
10 */
1da177e4 11#include <linux/init.h>
866ef8f4 12#include <linux/irq.h>
1da177e4 13#include <asm/machvec.h>
7639a454 14#include <mach/edosk7705.h>
1da177e4 15
2c7834a6
PM
16static void __init sh_edosk7705_init_irq(void)
17{
18 /* This is the Ethernet interrupt */
19 make_imask_irq(0x09);
20}
1da177e4
LT
21
22/*
23 * The Machine Vector
24 */
82f81f47 25static struct sh_machine_vector mv_edosk7705 __initmv = {
2c7834a6 26 .mv_name = "EDOSK7705",
1da177e4
LT
27 .mv_nr_irqs = 80,
28
29 .mv_inb = sh_edosk7705_inb,
1da177e4 30 .mv_outb = sh_edosk7705_outb,
1da177e4
LT
31
32 .mv_insb = sh_edosk7705_insb,
1da177e4 33 .mv_outsb = sh_edosk7705_outsb,
1da177e4 34
2c7834a6 35 .mv_init_irq = sh_edosk7705_init_irq,
1da177e4 36};