1/* 2 * linux/include/asm-arm/arch-arc/irqs.h 3 * 4 * Copyright (C) 1996 Russell King, Dave Gilbert 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 * Modifications: 11 * 04-04-1998 PJB Merged arc and a5k versions 12 */ 13 14 15#if defined(CONFIG_ARCH_A5K) 16#define IRQ_PRINTER 0 17#define IRQ_BATLOW 1 18#define IRQ_FLOPPYINDEX 2 19#define IRQ_FLOPPYDISK 12 20#elif defined(CONFIG_ARCH_ARC) 21#define IRQ_PRINTERBUSY 0 22#define IRQ_SERIALRING 1 23#define IRQ_PRINTERACK 2 24#define IRQ_FLOPPYCHANGED 12 25#endif 26 27#define IRQ_VSYNCPULSE 3 28#define IRQ_POWERON 4 29#define IRQ_TIMER0 5 30#define IRQ_TIMER1 6 31#define IRQ_IMMEDIATE 7 32#define IRQ_EXPCARDFIQ 8 33#define IRQ_SOUNDCHANGE 9 34#define IRQ_SERIALPORT 10 35#define IRQ_HARDDISK 11 36#define IRQ_EXPANSIONCARD 13 37#define IRQ_KEYBOARDTX 14 38#define IRQ_KEYBOARDRX 15 39 40#if defined(CONFIG_ARCH_A5K) 41#define FIQ_SERIALPORT 4 42#elif defined(CONFIG_ARCH_ARC) 43#define FIQ_FLOPPYIRQ 1 44#define FIQ_FD1772 FIQ_FLOPPYIRQ 45#endif 46 47#define FIQ_FLOPPYDATA 0 48#define FIQ_ECONET 2 49#define FIQ_EXPANSIONCARD 6 50#define FIQ_FORCE 7 51 52#define IRQ_TIMER IRQ_TIMER0 53 54/* 55 * This is the offset of the FIQ "IRQ" numbers 56 */ 57#define FIQ_START 64 58 59#define irq_cannonicalize(i) (i) 60