irq.c 750 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/arch/sh/boards/adx/irq.c
  3. *
  4. * Copyright (C) 2001 A&D Co., Ltd.
  5. *
  6. * I/O routine and setup routines for A&D ADX Board
  7. *
  8. * This file is subject to the terms and conditions of the GNU General Public
  9. * License. See the file "COPYING" in the main directory of this archive
  10. * for more details.
  11. *
  12. */
  13. #include <asm/irq.h>
  14. void init_adx_IRQ(void)
  15. {
  16. int i;
  17. /* printk("init_adx_IRQ()\n");*/
  18. /* setup irq_mask_register */
  19. irq_mask_register = (unsigned short *)0xa6000008;
  20. /* cover all external interrupt area by maskreg_irq_type
  21. * (Actually, irq15 doesn't exist)
  22. */
  23. for (i = 0; i < 16; i++) {
  24. make_maskreg_irq(i);
  25. disable_irq(i);
  26. }
  27. }