diff options
author | Michael Schmitz <schmitzmic@gmail.com> | 2013-04-06 02:26:39 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-04-16 21:18:29 +0200 |
commit | 736b24db32a806f79b43511e461321981bcfd5bf (patch) | |
tree | 1a8a84dedc03ca7366ddbe382ad88f2cb5cbb89d /arch/m68k/include/asm/atariints.h | |
parent | m68k/atari: use dedicated irq_chip for timer D interrupts (diff) | |
download | linux-736b24db32a806f79b43511e461321981bcfd5bf.tar.xz linux-736b24db32a806f79b43511e461321981bcfd5bf.zip |
m68k/atari: EtherNAT - platform device and IRQ support code
Add platform device and interrupt definitions necessary for the EtherNAT
Ethernet/USB adapter for the Falcon extension port. EtherNAT interrupt
numbers are 139/140 so the max. interrupt number for Atari has to be
increased.
[Geert] Conditionalize platform device data structures
Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/atariints.h')
-rw-r--r-- | arch/m68k/include/asm/atariints.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/atariints.h b/arch/m68k/include/asm/atariints.h index 8f71504956cd..953e0ac6855e 100644 --- a/arch/m68k/include/asm/atariints.h +++ b/arch/m68k/include/asm/atariints.h @@ -32,7 +32,7 @@ #define VME_SOURCE_BASE 56 #define VME_MAX_SOURCES 16 -#define NUM_ATARI_SOURCES (VME_SOURCE_BASE+VME_MAX_SOURCES-STMFP_SOURCE_BASE) +#define NUM_ATARI_SOURCES 141 /* convert vector number to int source number */ #define IRQ_VECTOR_TO_SOURCE(v) ((v) - ((v) < 0x20 ? 0x18 : (0x40-8))) |