]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/sh/boards/adx/irq.c
Linux-2.6.12-rc2
[mirror_ubuntu-zesty-kernel.git] / arch / sh / boards / adx / irq.c
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 }