Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
eseries-irq.h
Go to the documentation of this file.
1 /*
2  * eseries-irq.h
3  *
4  * Copyright (C) Ian Molton <[email protected]>
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  */
11 
12 #define ANGELX_IRQ_BASE (IRQ_BOARD_START+8)
13 #define IRQ_ANGELX(n) (ANGELX_IRQ_BASE + (n))
14 
15 #define ANGELX_RDY0_IRQ IRQ_ANGELX(0)
16 #define ANGELX_ST0_IRQ IRQ_ANGELX(1)
17 #define ANGELX_CD0_IRQ IRQ_ANGELX(2)
18 #define ANGELX_RDY1_IRQ IRQ_ANGELX(3)
19 #define ANGELX_ST1_IRQ IRQ_ANGELX(4)
20 #define ANGELX_CD1_IRQ IRQ_ANGELX(5)
21 
22 #define TMIO_IRQ_BASE (IRQ_BOARD_START+0)
23 #define IRQ_TMIO(n) (TMIO_IRQ_BASE + (n))
24 
25 #define TMIO_SD_IRQ IRQ_TMIO(1)
26 #define TMIO_USB_IRQ IRQ_TMIO(2)
27 
28 #define ESERIES_NR_IRQS (IRQ_BOARD_START + 16)