forked from luck/tmp_suning_uos_patched
58796ce67a
This converts over the legacy PCI IRQs to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
20 lines
490 B
C
20 lines
490 B
C
/*
|
|
* Platform definitions for Titan
|
|
*/
|
|
#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 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 */
|