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

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * linux/arch/sh/kernel/mach_cat68701.c
  3.  *
  4.  * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
  5.  *               2001 Yutaro Ebihara (ebihara@si-linux.com)
  6.  *
  7.  * May be copied or modified under the terms of the GNU General Public
  8.  * License.  See linux/COPYING for more information.
  9.  *
  10.  * Machine vector for the A-ONE corp. CAT-68701 SH7708 board
  11.  */
  12. #include <linux/config.h>
  13. #include <linux/init.h>
  14. #include <asm/machvec.h>
  15. #include <asm/rtc.h>
  16. #include <asm/machvec_init.h>
  17. #include <asm/io_cat68701.h>
  18. /*
  19.  * The Machine Vector
  20.  */
  21. struct sh_machine_vector mv_cat68701 __initmv = {
  22. mv_name: "CAT-68701",
  23. mv_nr_irqs: 32,
  24. mv_inb: cat68701_inb,
  25. mv_inw: cat68701_inw,
  26. mv_inl: cat68701_inl,
  27. mv_outb: cat68701_outb,
  28. mv_outw: cat68701_outw,
  29. mv_outl: cat68701_outl,
  30. mv_inb_p: cat68701_inb_p,
  31. mv_inw_p: cat68701_inw,
  32. mv_inl_p: cat68701_inl,
  33. mv_outb_p: cat68701_outb_p,
  34. mv_outw_p: cat68701_outw,
  35. mv_outl_p: cat68701_outl,
  36. mv_insb: cat68701_insb,
  37. mv_insw: cat68701_insw,
  38. mv_insl: cat68701_insl,
  39. mv_outsb: cat68701_outsb,
  40. mv_outsw: cat68701_outsw,
  41. mv_outsl: cat68701_outsl,
  42. mv_readb: cat68701_readb,
  43. mv_readw: cat68701_readw,
  44. mv_readl: cat68701_readl,
  45. mv_writeb: cat68701_writeb,
  46. mv_writew: cat68701_writew,
  47. mv_writel: cat68701_writel,
  48. mv_ioremap: cat68701_ioremap,
  49. mv_iounmap: cat68701_iounmap,
  50. mv_isa_port2addr: cat68701_isa_port2addr,
  51. mv_irq_demux:           cat68701_irq_demux,
  52. mv_init_arch: setup_cat68701,
  53. mv_init_irq: init_cat68701_IRQ,
  54. #ifdef CONFIG_HEARTBEAT
  55. mv_heartbeat: heartbeat_cat68701,
  56. #endif
  57. mv_rtc_gettimeofday: sh_rtc_gettimeofday,
  58. mv_rtc_settimeofday: sh_rtc_settimeofday,
  59. };
  60. ALIAS_MV(cat68701)