1 /* 2 * linux/arch/sh/kernel/setup_adx.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/io.h> 15 #include <asm/machvec.h> 16 #include <asm/irq.h> 17 #include <linux/module.h> 18 setup_adx(void)19void setup_adx(void) 20 { 21 /* nothing to do just yet */ 22 /* printk("setup_adx()\n");*/ 23 } 24 init_adx_IRQ(void)25void init_adx_IRQ(void) 26 { 27 int i; 28 29 /* printk("init_adx_IRQ()\n");*/ 30 /* setup irq_mask_register */ 31 irq_mask_register = (unsigned short *)0xa6000008; 32 33 /* cover all external interrupt area by maskreg_irq_type 34 * (Actually, irq15 doesn't exist) 35 */ 36 for (i = 0; i < 16; i++) { 37 make_maskreg_irq(i); 38 disable_irq(i); 39 } 40 } 41