]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/asm-arm26/sysirq.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
[mirror_ubuntu-bionic-kernel.git] / include / asm-arm26 / sysirq.h
CommitLineData
1da177e4
LT
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#include <linux/config.h>
15
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
27
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
40
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
47
48#define FIQ_FLOPPYDATA 0
49#define FIQ_ECONET 2
50#define FIQ_EXPANSIONCARD 6
51#define FIQ_FORCE 7
52
53#define IRQ_TIMER IRQ_TIMER0
54
55/*
56 * This is the offset of the FIQ "IRQ" numbers
57 */
58#define FIQ_START 64
59
60#define irq_cannonicalize(i) (i)
61