setup.c 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * linux/arch/sh/boards/renesas/systemh/setup.c
  3. *
  4. * Copyright (C) 2000 Kazumoto Kojima
  5. * Copyright (C) 2003 Paul Mundt
  6. *
  7. * Hitachi SystemH Support.
  8. *
  9. * Modified for 7751 SystemH by Jonathan Short.
  10. *
  11. * Rewritten for 2.6 by Paul Mundt.
  12. *
  13. * This file is subject to the terms and conditions of the GNU General Public
  14. * License. See the file "COPYING" in the main directory of this archive
  15. * for more details.
  16. */
  17. #include <linux/init.h>
  18. #include <asm/machvec.h>
  19. #include <mach/systemh7751.h>
  20. extern void make_systemh_irq(unsigned int irq);
  21. /*
  22. * Initialize IRQ setting
  23. */
  24. static void __init sh7751systemh_init_irq(void)
  25. {
  26. make_systemh_irq(0xb); /* Ethernet interrupt */
  27. }
  28. static struct sh_machine_vector mv_7751systemh __initmv = {
  29. .mv_name = "7751 SystemH",
  30. .mv_nr_irqs = 72,
  31. .mv_inb = sh7751systemh_inb,
  32. .mv_inw = sh7751systemh_inw,
  33. .mv_inl = sh7751systemh_inl,
  34. .mv_outb = sh7751systemh_outb,
  35. .mv_outw = sh7751systemh_outw,
  36. .mv_outl = sh7751systemh_outl,
  37. .mv_inb_p = sh7751systemh_inb_p,
  38. .mv_inw_p = sh7751systemh_inw,
  39. .mv_inl_p = sh7751systemh_inl,
  40. .mv_outb_p = sh7751systemh_outb_p,
  41. .mv_outw_p = sh7751systemh_outw,
  42. .mv_outl_p = sh7751systemh_outl,
  43. .mv_insb = sh7751systemh_insb,
  44. .mv_insw = sh7751systemh_insw,
  45. .mv_insl = sh7751systemh_insl,
  46. .mv_outsb = sh7751systemh_outsb,
  47. .mv_outsw = sh7751systemh_outsw,
  48. .mv_outsl = sh7751systemh_outsl,
  49. .mv_init_irq = sh7751systemh_init_irq,
  50. };