18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  capcella.h, Include file for ZAO Networks Capcella.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2002-2004  Yoichi Yuasa <yuasa@linux-mips.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef __ZAO_CAPCELLA_H
88c2ecf20Sopenharmony_ci#define __ZAO_CAPCELLA_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <asm/vr41xx/irq.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/*
138c2ecf20Sopenharmony_ci * General-Purpose I/O Pin Number
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci#define PC104PLUS_INTA_PIN		2
168c2ecf20Sopenharmony_ci#define PC104PLUS_INTB_PIN		3
178c2ecf20Sopenharmony_ci#define PC104PLUS_INTC_PIN		4
188c2ecf20Sopenharmony_ci#define PC104PLUS_INTD_PIN		5
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci/*
218c2ecf20Sopenharmony_ci * Interrupt Number
228c2ecf20Sopenharmony_ci */
238c2ecf20Sopenharmony_ci#define RTL8139_1_IRQ			GIU_IRQ(PC104PLUS_INTC_PIN)
248c2ecf20Sopenharmony_ci#define RTL8139_2_IRQ			GIU_IRQ(PC104PLUS_INTD_PIN)
258c2ecf20Sopenharmony_ci#define PC104PLUS_INTA_IRQ		GIU_IRQ(PC104PLUS_INTA_PIN)
268c2ecf20Sopenharmony_ci#define PC104PLUS_INTB_IRQ		GIU_IRQ(PC104PLUS_INTB_PIN)
278c2ecf20Sopenharmony_ci#define PC104PLUS_INTC_IRQ		GIU_IRQ(PC104PLUS_INTC_PIN)
288c2ecf20Sopenharmony_ci#define PC104PLUS_INTD_IRQ		GIU_IRQ(PC104PLUS_INTD_PIN)
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif /* __ZAO_CAPCELLA_H */
31