Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | */ |
| 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <linux/init.h> |
| 13 | #include <asm/machvec.h> |
| 14 | #include <asm/machvec_init.h> |
| 15 | #include <asm/edosk7705/io.h> |
| 16 | |
| 17 | static void init_edosk7705(void); |
| 18 | |
| 19 | /* |
| 20 | * The Machine Vector |
| 21 | */ |
| 22 | |
| 23 | struct sh_machine_vector mv_edosk7705 __initmv = { |
| 24 | .mv_nr_irqs = 80, |
| 25 | |
| 26 | .mv_inb = sh_edosk7705_inb, |
| 27 | .mv_inl = sh_edosk7705_inl, |
| 28 | .mv_outb = sh_edosk7705_outb, |
| 29 | .mv_outl = sh_edosk7705_outl, |
| 30 | |
| 31 | .mv_inl_p = sh_edosk7705_inl, |
| 32 | .mv_outl_p = sh_edosk7705_outl, |
| 33 | |
| 34 | .mv_insb = sh_edosk7705_insb, |
| 35 | .mv_insl = sh_edosk7705_insl, |
| 36 | .mv_outsb = sh_edosk7705_outsb, |
| 37 | .mv_outsl = sh_edosk7705_outsl, |
| 38 | |
| 39 | .mv_isa_port2addr = sh_edosk7705_isa_port2addr, |
| 40 | .mv_init_irq = init_edosk7705, |
| 41 | }; |
| 42 | ALIAS_MV(edosk7705) |
| 43 | |
| 44 | static void __init init_edosk7705(void) |
| 45 | { |
| 46 | /* This is the Ethernet interrupt */ |
| 47 | make_imask_irq(0x09); |
| 48 | } |
| 49 | |
| 50 | const char *get_system_type(void) |
| 51 | { |
| 52 | return "EDOSK7705"; |
| 53 | } |
| 54 | |
| 55 | void __init platform_setup(void) |
| 56 | { |
| 57 | /* Nothing .. */ |
| 58 | } |
| 59 | |