irq.c 588 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * linux/arch/sh/boards/cat68701/irq.c
  3. *
  4. * Copyright (C) 2000 Niibe Yutaka
  5. * 2001 Yutaro Ebihara
  6. *
  7. * Setup routines for A-ONE Corp CAT-68701 SH7708 Board
  8. *
  9. * This file is subject to the terms and conditions of the GNU General Public
  10. * License. See the file "COPYING" in the main directory of this archive
  11. * for more details.
  12. *
  13. */
  14. #include <asm/irq.h>
  15. int cat68701_irq_demux(int irq)
  16. {
  17. if(irq==13) return 14;
  18. if(irq==7) return 10;
  19. return irq;
  20. }
  21. void init_cat68701_IRQ()
  22. {
  23. make_imask_irq(10);
  24. make_imask_irq(14);
  25. }