setup.c 1.1 KB

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