mach_7751se.c
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * linux/arch/sh/kernel/mach_7751se.c
  3.  *
  4.  * Minor tweak of mach_se.c file to reference 7751se-specific items.
  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 Hitachi 7751 SolutionEngine
  10.  */
  11. #include <linux/config.h>
  12. #include <linux/init.h>
  13. #include <asm/machvec.h>
  14. #include <asm/rtc.h>
  15. #include <asm/machvec_init.h>
  16. #include <asm/io_7751se.h>
  17. void heartbeat_7751se(void);
  18. void setup_7751se(void);
  19. void init_7751se_IRQ(void);
  20. /*
  21.  * The Machine Vector
  22.  */
  23. struct sh_machine_vector mv_7751se __initmv = {
  24. mv_name: "7751 SolutionEngine",
  25. mv_nr_irqs: 72,
  26. mv_inb: sh7751se_inb,
  27. mv_inw: sh7751se_inw,
  28. mv_inl: sh7751se_inl,
  29. mv_outb: sh7751se_outb,
  30. mv_outw: sh7751se_outw,
  31. mv_outl: sh7751se_outl,
  32. mv_inb_p: sh7751se_inb_p,
  33. mv_inw_p: sh7751se_inw,
  34. mv_inl_p: sh7751se_inl,
  35. mv_outb_p: sh7751se_outb_p,
  36. mv_outw_p: sh7751se_outw,
  37. mv_outl_p: sh7751se_outl,
  38. mv_insb: sh7751se_insb,
  39. mv_insw: sh7751se_insw,
  40. mv_insl: sh7751se_insl,
  41. mv_outsb: sh7751se_outsb,
  42. mv_outsw: sh7751se_outsw,
  43. mv_outsl: sh7751se_outsl,
  44. mv_readb: sh7751se_readb,
  45. mv_readw: sh7751se_readw,
  46. mv_readl: sh7751se_readl,
  47. mv_writeb: sh7751se_writeb,
  48. mv_writew: sh7751se_writew,
  49. mv_writel: sh7751se_writel,
  50. mv_ioremap: generic_ioremap,
  51. mv_iounmap: generic_iounmap,
  52. mv_isa_port2addr: sh7751se_isa_port2addr,
  53. mv_init_arch: setup_7751se,
  54. mv_init_irq: init_7751se_IRQ,
  55. #ifdef CONFIG_HEARTBEAT
  56. mv_heartbeat: heartbeat_7751se,
  57. #endif
  58. mv_rtc_gettimeofday: sh_rtc_gettimeofday,
  59. mv_rtc_settimeofday: sh_rtc_settimeofday,
  60. mv_hw_7751se: 1,
  61. };
  62. ALIAS_MV(7751se)