patch-2.4.25 linux-2.4.25/include/asm-mips/vr41xx/vrc4171.h
Next file: linux-2.4.25/include/asm-mips/vr41xx/vrc4173.h
Previous file: linux-2.4.25/include/asm-mips/vr41xx/vr41xx.h
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-mips/vr41xx/vrc4171.h
- Orig date:
1969-12-31 16:00:00.000000000 -0800
diff -urN linux-2.4.24/include/asm-mips/vr41xx/vrc4171.h linux-2.4.25/include/asm-mips/vr41xx/vrc4171.h
@@ -0,0 +1,43 @@
+/*
+ * 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 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)