setup.c 647 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * arch/sh/boards/saturn/setup.c
  3. *
  4. * Hardware support for the Sega Saturn.
  5. *
  6. * Copyright (c) 2002 Paul Mundt
  7. *
  8. * Released under the terms of the GNU GPL v2.0.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/init.h>
  12. #include <asm/io.h>
  13. #include <asm/machvec.h>
  14. #include <asm/mach/io.h>
  15. extern int saturn_irq_demux(int irq_nr);
  16. /*
  17. * The Machine Vector
  18. */
  19. struct sh_machine_vector mv_saturn __initmv = {
  20. .mv_name = "Sega Saturn",
  21. .mv_nr_irqs = 80, /* Fix this later */
  22. .mv_isa_port2addr = saturn_isa_port2addr,
  23. .mv_irq_demux = saturn_irq_demux,
  24. .mv_ioremap = saturn_ioremap,
  25. .mv_iounmap = saturn_iounmap,
  26. };
  27. ALIAS_MV(saturn)