mach.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * linux/arch/sh/boards/hp6xx/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 HP680
  10. */
  11. #include <asm/machvec.h>
  12. #include <asm/hd64461.h>
  13. #include <asm/io.h>
  14. #include <asm/irq.h>
  15. struct sh_machine_vector mv_hp6xx __initmv = {
  16. .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM,
  17. .mv_inb = hd64461_inb,
  18. .mv_inw = hd64461_inw,
  19. .mv_inl = hd64461_inl,
  20. .mv_outb = hd64461_outb,
  21. .mv_outw = hd64461_outw,
  22. .mv_outl = hd64461_outl,
  23. .mv_inb_p = hd64461_inb_p,
  24. .mv_inw_p = hd64461_inw,
  25. .mv_inl_p = hd64461_inl,
  26. .mv_outb_p = hd64461_outb_p,
  27. .mv_outw_p = hd64461_outw,
  28. .mv_outl_p = hd64461_outl,
  29. .mv_insb = hd64461_insb,
  30. .mv_insw = hd64461_insw,
  31. .mv_insl = hd64461_insl,
  32. .mv_outsb = hd64461_outsb,
  33. .mv_outsw = hd64461_outsw,
  34. .mv_outsl = hd64461_outsl,
  35. .mv_readw = hd64461_readw,
  36. .mv_writew = hd64461_writew,
  37. .mv_irq_demux = hd64461_irq_demux,
  38. };
  39. ALIAS_MV(hp6xx)