summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-common/mach/titan.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-18 17:42:29 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-18 17:42:29 +0900
commit58796ce67a80e8725220af83c5a550bf6a4dab12 (patch)
tree393e6f0f97b1f8bc6c6b1f8e9494282e4c91dcd2 /arch/sh/include/mach-common/mach/titan.h
parent9f38045643859bed21068e8a7b868c961091065e (diff)
downloadtalos-op-linux-58796ce67a80e8725220af83c5a550bf6a4dab12.tar.gz
talos-op-linux-58796ce67a80e8725220af83c5a550bf6a4dab12.zip
sh: legacy PCI evt2irq migration.
This converts over the legacy PCI IRQs to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common/mach/titan.h')
-rw-r--r--arch/sh/include/mach-common/mach/titan.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/sh/include/mach-common/mach/titan.h b/arch/sh/include/mach-common/mach/titan.h
index 4a674d27cbb8..fa3cd801cf2e 100644
--- a/arch/sh/include/mach-common/mach/titan.h
+++ b/arch/sh/include/mach-common/mach/titan.h
@@ -4,14 +4,16 @@
#ifndef _ASM_SH_TITAN_H
#define _ASM_SH_TITAN_H
+#include <linux/sh_intc.h>
+
#define __IO_PREFIX titan
#include <asm/io_generic.h>
/* IRQ assignments */
-#define TITAN_IRQ_WAN 2 /* eth0 (WAN) */
-#define TITAN_IRQ_LAN 5 /* eth1 (LAN) */
-#define TITAN_IRQ_MPCIA 8 /* mPCI A */
-#define TITAN_IRQ_MPCIB 11 /* mPCI B */
-#define TITAN_IRQ_USB 11 /* USB */
+#define TITAN_IRQ_WAN evt2irq(0x240) /* eth0 (WAN) */
+#define TITAN_IRQ_LAN evt2irq(0x2a0) /* eth1 (LAN) */
+#define TITAN_IRQ_MPCIA evt2irq(0x300) /* mPCI A */
+#define TITAN_IRQ_MPCIB evt2irq(0x360) /* mPCI B */
+#define TITAN_IRQ_USB evt2irq(0x360) /* USB */
#endif /* __ASM_SH_TITAN_H */
OpenPOWER on IntegriCloud