1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  capcella.h, Include file for ZAO Networks Capcella.
4  *
5  *  Copyright (C) 2002-2004  Yoichi Yuasa <yuasa@linux-mips.org>
6  */
7 #ifndef __ZAO_CAPCELLA_H
8 #define __ZAO_CAPCELLA_H
9 
10 #include <asm/vr41xx/irq.h>
11 
12 /*
13  * General-Purpose I/O Pin Number
14  */
15 #define PC104PLUS_INTA_PIN		2
16 #define PC104PLUS_INTB_PIN		3
17 #define PC104PLUS_INTC_PIN		4
18 #define PC104PLUS_INTD_PIN		5
19 
20 /*
21  * Interrupt Number
22  */
23 #define RTL8139_1_IRQ			GIU_IRQ(PC104PLUS_INTC_PIN)
24 #define RTL8139_2_IRQ			GIU_IRQ(PC104PLUS_INTD_PIN)
25 #define PC104PLUS_INTA_IRQ		GIU_IRQ(PC104PLUS_INTA_PIN)
26 #define PC104PLUS_INTB_IRQ		GIU_IRQ(PC104PLUS_INTB_PIN)
27 #define PC104PLUS_INTC_IRQ		GIU_IRQ(PC104PLUS_INTC_PIN)
28 #define PC104PLUS_INTD_IRQ		GIU_IRQ(PC104PLUS_INTD_PIN)
29 
30 #endif /* __ZAO_CAPCELLA_H */
31