82f81f4784
We now throw all of the machvecs in to .machvec.init and either select one on the command line, or copy out the first (and usually only) one to sh_mv. The rest are freed as usual. This gets rid of all of the silly sh_mv aliasing and makes the selection explicit rather than link-order dependent. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
44 lines
945 B
C
44 lines
945 B
C
/*
|
|
* 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>
|
|
#include <asm/machvec.h>
|
|
#include <asm/edosk7705/io.h>
|
|
|
|
static void __init sh_edosk7705_init_irq(void)
|
|
{
|
|
/* This is the Ethernet interrupt */
|
|
make_imask_irq(0x09);
|
|
}
|
|
|
|
/*
|
|
* The Machine Vector
|
|
*/
|
|
static struct sh_machine_vector mv_edosk7705 __initmv = {
|
|
.mv_name = "EDOSK7705",
|
|
.mv_nr_irqs = 80,
|
|
|
|
.mv_inb = sh_edosk7705_inb,
|
|
.mv_inl = sh_edosk7705_inl,
|
|
.mv_outb = sh_edosk7705_outb,
|
|
.mv_outl = sh_edosk7705_outl,
|
|
|
|
.mv_inl_p = sh_edosk7705_inl,
|
|
.mv_outl_p = sh_edosk7705_outl,
|
|
|
|
.mv_insb = sh_edosk7705_insb,
|
|
.mv_insl = sh_edosk7705_insl,
|
|
.mv_outsb = sh_edosk7705_outsb,
|
|
.mv_outsl = sh_edosk7705_outsl,
|
|
|
|
.mv_isa_port2addr = sh_edosk7705_isa_port2addr,
|
|
.mv_init_irq = sh_edosk7705_init_irq,
|
|
};
|