setup.c 945 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #include <linux/init.h>
  12. #include <asm/machvec.h>
  13. #include <asm/edosk7705/io.h>
  14. static void __init sh_edosk7705_init_irq(void)
  15. {
  16. /* This is the Ethernet interrupt */
  17. make_imask_irq(0x09);
  18. }
  19. /*
  20. * The Machine Vector
  21. */
  22. static struct sh_machine_vector mv_edosk7705 __initmv = {
  23. .mv_name = "EDOSK7705",
  24. .mv_nr_irqs = 80,
  25. .mv_inb = sh_edosk7705_inb,
  26. .mv_inl = sh_edosk7705_inl,
  27. .mv_outb = sh_edosk7705_outb,
  28. .mv_outl = sh_edosk7705_outl,
  29. .mv_inl_p = sh_edosk7705_inl,
  30. .mv_outl_p = sh_edosk7705_outl,
  31. .mv_insb = sh_edosk7705_insb,
  32. .mv_insl = sh_edosk7705_insl,
  33. .mv_outsb = sh_edosk7705_outsb,
  34. .mv_outsl = sh_edosk7705_outsl,
  35. .mv_isa_port2addr = sh_edosk7705_isa_port2addr,
  36. .mv_init_irq = sh_edosk7705_init_irq,
  37. };