/* * linux/include/asm-arm/arch-ebsa285/irq.h * * Copyright (C) 1996-1998 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Changelog: * 22-Aug-1998 RMK Restructured IRQ routines * 03-Sep-1998 PJB Merged CATS support * 20-Jan-1998 RMK Started merge of EBSA286, CATS and NetWinder * 26-Jan-1999 PJB Don't use IACK on CATS * 16-Mar-1999 RMK Added autodetect of ISA PICs */ #include #include #include #include int isa_irq = -1; static inline int fixup_irq(unsigned int irq) { #ifdef PCIIACK_BASE if (irq == isa_irq) irq = *(unsigned char *)PCIIACK_BASE; #endif return irq; }