Ian Molton | c316f10 | 2008-07-10 20:01:07 +0100 | [diff] [blame] | 1 | /* |
| 2 | * eseries-irq.h |
| 3 | * |
| 4 | * Copyright (C) Ian Molton <spyro@f2s.com> |
| 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 | |
Haojian Zhuang | 6ac6b81 | 2010-08-20 15:23:59 +0800 | [diff] [blame] | 28 | #define ESERIES_NR_IRQS (IRQ_BOARD_START + 16) |