mach.c 1.1 KB

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