mach.c 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * linux/arch/sh/boards/hp6xx/hp690/mach.c
  3. *
  4. * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
  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 HP690
  10. */
  11. #include <linux/init.h>
  12. #include <asm/machvec.h>
  13. #include <asm/rtc.h>
  14. #include <asm/machvec_init.h>
  15. #include <asm/io.h>
  16. #include <asm/hd64461/hd64461.h>
  17. #include <asm/irq.h>
  18. struct sh_machine_vector mv_hp690 __initmv = {
  19. .mv_nr_irqs = HD64461_IRQBASE+HD64461_IRQ_NUM,
  20. .mv_inb = hd64461_inb,
  21. .mv_inw = hd64461_inw,
  22. .mv_inl = hd64461_inl,
  23. .mv_outb = hd64461_outb,
  24. .mv_outw = hd64461_outw,
  25. .mv_outl = hd64461_outl,
  26. .mv_inb_p = hd64461_inb_p,
  27. .mv_inw_p = hd64461_inw,
  28. .mv_inl_p = hd64461_inl,
  29. .mv_outb_p = hd64461_outb_p,
  30. .mv_outw_p = hd64461_outw,
  31. .mv_outl_p = hd64461_outl,
  32. .mv_insb = hd64461_insb,
  33. .mv_insw = hd64461_insw,
  34. .mv_insl = hd64461_insl,
  35. .mv_outsb = hd64461_outsb,
  36. .mv_outsw = hd64461_outsw,
  37. .mv_outsl = hd64461_outsl,
  38. .mv_irq_demux = hd64461_irq_demux,
  39. };
  40. ALIAS_MV(hp690)