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 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <linux/init.h> |
| 12 | #include <asm/machvec.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <asm/edosk7705/io.h> |
| 14 | |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 15 | static void __init sh_edosk7705_init_irq(void) |
| 16 | { |
| 17 | /* This is the Ethernet interrupt */ |
| 18 | make_imask_irq(0x09); |
| 19 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | /* |
| 22 | * The Machine Vector |
| 23 | */ |
Paul Mundt | 82f81f4 | 2007-05-15 15:19:34 +0900 | [diff] [blame] | 24 | static struct sh_machine_vector mv_edosk7705 __initmv = { |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 25 | .mv_name = "EDOSK7705", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | .mv_nr_irqs = 80, |
| 27 | |
| 28 | .mv_inb = sh_edosk7705_inb, |
| 29 | .mv_inl = sh_edosk7705_inl, |
| 30 | .mv_outb = sh_edosk7705_outb, |
| 31 | .mv_outl = sh_edosk7705_outl, |
| 32 | |
| 33 | .mv_inl_p = sh_edosk7705_inl, |
| 34 | .mv_outl_p = sh_edosk7705_outl, |
| 35 | |
| 36 | .mv_insb = sh_edosk7705_insb, |
| 37 | .mv_insl = sh_edosk7705_insl, |
| 38 | .mv_outsb = sh_edosk7705_outsb, |
| 39 | .mv_outsl = sh_edosk7705_outsl, |
| 40 | |
| 41 | .mv_isa_port2addr = sh_edosk7705_isa_port2addr, |
Paul Mundt | 2c7834a | 2006-09-27 18:17:31 +0900 | [diff] [blame] | 42 | .mv_init_irq = sh_edosk7705_init_irq, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | }; |