setup.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * arch/sh/boards/se/73180/setup.c
  3. *
  4. * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp>
  5. * Based on arch/sh/setup_shmse.c
  6. *
  7. * Modified for 73180 SolutionEngine
  8. * by YOSHII Takashi <yoshii-takashi@hitachi-ul.co.jp>
  9. *
  10. */
  11. #include <linux/init.h>
  12. #include <asm/machvec.h>
  13. #include <asm/se73180.h>
  14. #include <asm/irq.h>
  15. void heartbeat_73180se(void);
  16. void init_73180se_IRQ(void);
  17. /*
  18. * The Machine Vector
  19. */
  20. struct sh_machine_vector mv_73180se __initmv = {
  21. .mv_name = "SolutionEngine 73180",
  22. .mv_nr_irqs = 108,
  23. .mv_inb = sh73180se_inb,
  24. .mv_inw = sh73180se_inw,
  25. .mv_inl = sh73180se_inl,
  26. .mv_outb = sh73180se_outb,
  27. .mv_outw = sh73180se_outw,
  28. .mv_outl = sh73180se_outl,
  29. .mv_inb_p = sh73180se_inb_p,
  30. .mv_inw_p = sh73180se_inw,
  31. .mv_inl_p = sh73180se_inl,
  32. .mv_outb_p = sh73180se_outb_p,
  33. .mv_outw_p = sh73180se_outw,
  34. .mv_outl_p = sh73180se_outl,
  35. .mv_insb = sh73180se_insb,
  36. .mv_insw = sh73180se_insw,
  37. .mv_insl = sh73180se_insl,
  38. .mv_outsb = sh73180se_outsb,
  39. .mv_outsw = sh73180se_outsw,
  40. .mv_outsl = sh73180se_outsl,
  41. .mv_init_irq = init_73180se_IRQ,
  42. .mv_irq_demux = shmse_irq_demux,
  43. #ifdef CONFIG_HEARTBEAT
  44. .mv_heartbeat = heartbeat_73180se,
  45. #endif
  46. };
  47. ALIAS_MV(73180se)