setup.c 721 B

123456789101112131415161718192021222324252627282930313233343536
  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 <linux/irq.h>
  13. #include <asm/machvec.h>
  14. #include <mach/edosk7705.h>
  15. static void __init sh_edosk7705_init_irq(void)
  16. {
  17. /* This is the Ethernet interrupt */
  18. make_imask_irq(0x09);
  19. }
  20. /*
  21. * The Machine Vector
  22. */
  23. static struct sh_machine_vector mv_edosk7705 __initmv = {
  24. .mv_name = "EDOSK7705",
  25. .mv_nr_irqs = 80,
  26. .mv_inb = sh_edosk7705_inb,
  27. .mv_outb = sh_edosk7705_outb,
  28. .mv_insb = sh_edosk7705_insb,
  29. .mv_outsb = sh_edosk7705_outsb,
  30. .mv_init_irq = sh_edosk7705_init_irq,
  31. };