aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/mach-bf548/irq.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2007-07-12 03:20:25 -0400
committerBryan Wu <bryan.wu@analog.com>2007-07-12 03:20:25 -0400
commite745106ce34553171a5d8d2450be07c0cffe39d5 (patch)
treeb52c166af6aa988e746353b031cf4729cf67d39a /include/asm-blackfin/mach-bf548/irq.h
parentdb0fa2064585a099e0c652983bd38d71ee7830f3 (diff)
Blackfin arch: set up gpio interrupt IRQ_PJ9 for BF54x ATAPI PATA driver
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf548/irq.h')
-rw-r--r--include/asm-blackfin/mach-bf548/irq.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-blackfin/mach-bf548/irq.h b/include/asm-blackfin/mach-bf548/irq.h
index 58c87f04e018..0b3325bb1fff 100644
--- a/include/asm-blackfin/mach-bf548/irq.h
+++ b/include/asm-blackfin/mach-bf548/irq.h
@@ -318,7 +318,6 @@ Events (highest priority) EMU 0
318#define IRQ_PI14 BFIN_PI_IRQ(14) 318#define IRQ_PI14 BFIN_PI_IRQ(14)
319#define IRQ_PI15 BFIN_PI_IRQ(15) 319#define IRQ_PI15 BFIN_PI_IRQ(15)
320 320
321#if 0
322#define BFIN_PJ_IRQ(x) ((x) + IRQ_PI15 + 1) 321#define BFIN_PJ_IRQ(x) ((x) + IRQ_PI15 + 1)
323#define IRQ_PJ0 BFIN_PJ_IRQ(0) 322#define IRQ_PJ0 BFIN_PJ_IRQ(0)
324#define IRQ_PJ1 BFIN_PJ_IRQ(1) 323#define IRQ_PJ1 BFIN_PJ_IRQ(1)
@@ -336,10 +335,9 @@ Events (highest priority) EMU 0
336#define IRQ_PJ13 BFIN_PJ_IRQ(13) 335#define IRQ_PJ13 BFIN_PJ_IRQ(13)
337#define IRQ_PJ14 BFIN_PJ_IRQ(14) /* N/A */ 336#define IRQ_PJ14 BFIN_PJ_IRQ(14) /* N/A */
338#define IRQ_PJ15 BFIN_PJ_IRQ(15) /* N/A */ 337#define IRQ_PJ15 BFIN_PJ_IRQ(15) /* N/A */
339#endif
340 338
341#ifdef CONFIG_IRQCHIP_DEMUX_GPIO 339#ifdef CONFIG_IRQCHIP_DEMUX_GPIO
342#define NR_IRQS (IRQ_PI15+1) 340#define NR_IRQS (IRQ_PJ15+1)
343#else 341#else
344#define NR_IRQS (SYS_IRQS+1) 342#define NR_IRQS (SYS_IRQS+1)
345#endif 343#endif