| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
 | 2 |  * linux/arch/sh/boards/cat68701/irq.c | 
 | 3 |  * | 
 | 4 |  * Copyright (C) 2000  Niibe Yutaka | 
 | 5 |  *               2001  Yutaro Ebihara | 
 | 6 |  * | 
 | 7 |  * Setup routines for A-ONE Corp CAT-68701 SH7708 Board | 
 | 8 |  * | 
 | 9 |  * This file is subject to the terms and conditions of the GNU General Public | 
 | 10 |  * License.  See the file "COPYING" in the main directory of this archive | 
 | 11 |  * for more details. | 
 | 12 |  * | 
 | 13 |  */ | 
 | 14 |  | 
 | 15 | #include <asm/irq.h> | 
 | 16 |  | 
 | 17 | int cat68701_irq_demux(int irq) | 
 | 18 | { | 
 | 19 |         if(irq==13) return 14; | 
 | 20 |         if(irq==7)  return 10; | 
 | 21 |         return irq; | 
 | 22 | } | 
 | 23 |  | 
 | 24 | void init_cat68701_IRQ() | 
 | 25 | { | 
 | 26 |         make_imask_irq(10); | 
 | 27 |         make_imask_irq(14); | 
 | 28 | } |