setup.c 732 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. const char *get_system_type(void)
  17. {
  18. return "Sega Saturn";
  19. }
  20. /*
  21. * The Machine Vector
  22. */
  23. struct sh_machine_vector mv_saturn __initmv = {
  24. .mv_nr_irqs = 80, /* Fix this later */
  25. .mv_isa_port2addr = saturn_isa_port2addr,
  26. .mv_irq_demux = saturn_irq_demux,
  27. .mv_ioremap = saturn_ioremap,
  28. .mv_iounmap = saturn_iounmap,
  29. };
  30. ALIAS_MV(saturn)
  31. int __init platform_setup(void)
  32. {
  33. return 0;
  34. }