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