1 /* 2 * linux/include/asm-arm/arch-ebsa285/irq.h 3 * 4 * Copyright (C) 1996-1998 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * Changelog: 11 * 22-Aug-1998 RMK Restructured IRQ routines 12 * 03-Sep-1998 PJB Merged CATS support 13 * 20-Jan-1998 RMK Started merge of EBSA286, CATS and NetWinder 14 * 26-Jan-1999 PJB Don't use IACK on CATS 15 * 16-Mar-1999 RMK Added autodetect of ISA PICs 16 */ 17 #include <asm/hardware.h> 18 #include <asm/hardware/dec21285.h> 19 #include <asm/irq.h> 20 #include <asm/mach-types.h> 21 22 int isa_irq = -1; 23 fixup_irq(unsigned int irq)24static inline int fixup_irq(unsigned int irq) 25 { 26 #ifdef PCIIACK_BASE 27 if (irq == isa_irq) 28 irq = *(unsigned char *)PCIIACK_BASE; 29 #endif 30 31 return irq; 32 } 33 34