b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __ASM_SH_LBOXRE2_H |
| 3 | #define __ASM_SH_LBOXRE2_H |
| 4 | |
| 5 | /* |
| 6 | * Copyright (C) 2007 Nobuhiro Iwamatsu |
| 7 | * |
| 8 | * NTT COMWARE L-BOX RE2 support |
| 9 | */ |
| 10 | #include <linux/sh_intc.h> |
| 11 | |
| 12 | #define IRQ_CF1 evt2irq(0x320) /* CF1 */ |
| 13 | #define IRQ_CF0 evt2irq(0x340) /* CF0 */ |
| 14 | #define IRQ_INTD evt2irq(0x360) /* INTD */ |
| 15 | #define IRQ_ETH1 evt2irq(0x380) /* Ether1 */ |
| 16 | #define IRQ_ETH0 evt2irq(0x3a0) /* Ether0 */ |
| 17 | #define IRQ_INTA evt2irq(0x3c0) /* INTA */ |
| 18 | |
| 19 | void init_lboxre2_IRQ(void); |
| 20 | |
| 21 | #define __IO_PREFIX lboxre2 |
| 22 | #include <asm/io_generic.h> |
| 23 | |
| 24 | #endif /* __ASM_SH_LBOXRE2_H */ |