mach.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * linux/arch/sh/kernel/mach_7751se.c
  3. *
  4. * Minor tweak of mach_se.c file to reference 7751se-specific items.
  5. *
  6. * May be copied or modified under the terms of the GNU General Public
  7. * License. See linux/COPYING for more information.
  8. *
  9. * Machine vector for the Hitachi 7751 SolutionEngine
  10. */
  11. #include <linux/config.h>
  12. #include <linux/init.h>
  13. #include <asm/machvec.h>
  14. #include <asm/rtc.h>
  15. #include <asm/machvec_init.h>
  16. #include <asm/se7751/io.h>
  17. void heartbeat_7751se(void);
  18. void init_7751se_IRQ(void);
  19. /*
  20. * The Machine Vector
  21. */
  22. struct sh_machine_vector mv_7751se __initmv = {
  23. .mv_nr_irqs = 72,
  24. .mv_inb = sh7751se_inb,
  25. .mv_inw = sh7751se_inw,
  26. .mv_inl = sh7751se_inl,
  27. .mv_outb = sh7751se_outb,
  28. .mv_outw = sh7751se_outw,
  29. .mv_outl = sh7751se_outl,
  30. .mv_inb_p = sh7751se_inb_p,
  31. .mv_inw_p = sh7751se_inw,
  32. .mv_inl_p = sh7751se_inl,
  33. .mv_outb_p = sh7751se_outb_p,
  34. .mv_outw_p = sh7751se_outw,
  35. .mv_outl_p = sh7751se_outl,
  36. .mv_insl = sh7751se_insl,
  37. .mv_outsl = sh7751se_outsl,
  38. .mv_isa_port2addr = sh7751se_isa_port2addr,
  39. .mv_init_irq = init_7751se_IRQ,
  40. #ifdef CONFIG_HEARTBEAT
  41. .mv_heartbeat = heartbeat_7751se,
  42. #endif
  43. };
  44. ALIAS_MV(7751se)