Linux 2.6.13-rc4
[linux-2.6/next.git] / arch / sh / boards / adx / irq.c
blobc6ca409dff98ac464d440ec1d3b8ffb1f7f93b43
1 /*
2 * linux/arch/sh/boards/adx/irq.c
4 * Copyright (C) 2001 A&D Co., Ltd.
6 * I/O routine and setup routines for A&D ADX Board
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.
14 #include <asm/irq.h>
16 void init_adx_IRQ(void)
18 int i;
20 /* printk("init_adx_IRQ()\n");*/
21 /* setup irq_mask_register */
22 irq_mask_register = (unsigned short *)0xa6000008;
24 /* cover all external interrupt area by maskreg_irq_type
25 * (Actually, irq15 doesn't exist)
27 for (i = 0; i < 16; i++) {
28 make_maskreg_irq(i);
29 disable_irq(i);