URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [vr41xx/] [vrc4171.h] - Rev 1765
Compare with Previous | Blame | View Log
/* * vrc4171.h, Include file for NEC VRC4171. * * Copyright (C) 2003 Yoichi Yuasa <yuasa@hh.iij4u.or.jp> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __NEC_VRC4171_H #define __NEC_VRC4171_H /* * Configuration 1 */ enum { SLOTB_IS_NONE, SLOTB_IS_PCCARD, SLOTB_IS_CF, SLOTB_IS_FLASHROM }; extern void vrc4171_set_multifunction_pin(int config); /* * Interrupt Status Mask */ #define IRQ_A 0x02 #define IRQ_B 0x04 extern uint16_t vrc4171_get_irq_status(void); #endif /* __NEC_VRC4171_H */