mach.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * linux/arch/sh/boards/dmida/mach.c
  3. *
  4. * by Greg Banks <gbanks@pocketpenguins.com>
  5. * (c) 2000 PocketPenguins Inc
  6. *
  7. * Derived from mach_hp600.c, which bore the message:
  8. * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
  9. *
  10. * May be copied or modified under the terms of the GNU General Public
  11. * License. See linux/COPYING for more information.
  12. *
  13. * Machine vector for the DataMyte Industrial Digital Assistant(tm).
  14. * See http://www.dmida.com
  15. *
  16. */
  17. #include <linux/init.h>
  18. #include <asm/machvec.h>
  19. #include <asm/rtc.h>
  20. #include <asm/machvec_init.h>
  21. #include <asm/io.h>
  22. #include <asm/hd64465/hd64465.h>
  23. #include <asm/irq.h>
  24. /*
  25. * The Machine Vector
  26. */
  27. struct sh_machine_vector mv_dmida __initmv = {
  28. .mv_nr_irqs = HD64465_IRQ_BASE+HD64465_IRQ_NUM,
  29. .mv_inb = hd64465_inb,
  30. .mv_inw = hd64465_inw,
  31. .mv_inl = hd64465_inl,
  32. .mv_outb = hd64465_outb,
  33. .mv_outw = hd64465_outw,
  34. .mv_outl = hd64465_outl,
  35. .mv_inb_p = hd64465_inb_p,
  36. .mv_inw_p = hd64465_inw,
  37. .mv_inl_p = hd64465_inl,
  38. .mv_outb_p = hd64465_outb_p,
  39. .mv_outw_p = hd64465_outw,
  40. .mv_outl_p = hd64465_outl,
  41. .mv_insb = hd64465_insb,
  42. .mv_insw = hd64465_insw,
  43. .mv_insl = hd64465_insl,
  44. .mv_outsb = hd64465_outsb,
  45. .mv_outsw = hd64465_outsw,
  46. .mv_outsl = hd64465_outsl,
  47. .mv_irq_demux = hd64465_irq_demux,
  48. };
  49. ALIAS_MV(dmida)