2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* arch/sh/boards/renesas/edosk7705/setup.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Kazumoto Kojima
|
|
|
|
*
|
|
|
|
* Hitachi SolutionEngine Support.
|
|
|
|
*
|
|
|
|
* Modified for edosk7705 development
|
|
|
|
* board by S. Dunn, 2003.
|
|
|
|
*/
|
|
|
|
#include <linux/init.h>
|
2008-12-17 04:57:15 +00:00
|
|
|
#include <linux/irq.h>
|
2005-04-16 22:20:36 +00:00
|
|
|
#include <asm/machvec.h>
|
2008-10-20 04:02:48 +00:00
|
|
|
#include <mach/edosk7705.h>
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-09-27 09:17:31 +00:00
|
|
|
static void __init sh_edosk7705_init_irq(void)
|
|
|
|
{
|
|
|
|
/* This is the Ethernet interrupt */
|
|
|
|
make_imask_irq(0x09);
|
|
|
|
}
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The Machine Vector
|
|
|
|
*/
|
2007-05-15 06:19:34 +00:00
|
|
|
static struct sh_machine_vector mv_edosk7705 __initmv = {
|
2006-09-27 09:17:31 +00:00
|
|
|
.mv_name = "EDOSK7705",
|
2005-04-16 22:20:36 +00:00
|
|
|
.mv_nr_irqs = 80,
|
|
|
|
|
|
|
|
.mv_inb = sh_edosk7705_inb,
|
|
|
|
.mv_outb = sh_edosk7705_outb,
|
|
|
|
|
|
|
|
.mv_insb = sh_edosk7705_insb,
|
|
|
|
.mv_outsb = sh_edosk7705_outsb,
|
|
|
|
|
2006-09-27 09:17:31 +00:00
|
|
|
.mv_init_irq = sh_edosk7705_init_irq,
|
2005-04-16 22:20:36 +00:00
|
|
|
};
|