Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 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 | |
| 14 | #include <asm/irq.h> |
| 15 | |
| 16 | void init_adx_IRQ(void) |
| 17 | { |
| 18 | int i; |
| 19 | |
| 20 | /* printk("init_adx_IRQ()\n");*/ |
| 21 | /* setup irq_mask_register */ |
| 22 | irq_mask_register = (unsigned short *)0xa6000008; |
| 23 | |
| 24 | /* cover all external interrupt area by maskreg_irq_type |
| 25 | * (Actually, irq15 doesn't exist) |
| 26 | */ |
| 27 | for (i = 0; i < 16; i++) { |
| 28 | make_maskreg_irq(i); |
| 29 | disable_irq(i); |
| 30 | } |
| 31 | } |