date and time created 92/06/15 06:45:54 by fujita
authorAkito Fujita <fujita@ucbvax.Berkeley.EDU>
Mon, 15 Jun 1992 21:45:54 +0000 (13:45 -0800)
committerAkito Fujita <fujita@ucbvax.Berkeley.EDU>
Mon, 15 Jun 1992 21:45:54 +0000 (13:45 -0800)
SCCS-vsn: sys/luna68k/dev/pioreg.h 7.1

usr/src/sys/luna68k/dev/pioreg.h [new file with mode: 0644]

diff --git a/usr/src/sys/luna68k/dev/pioreg.h b/usr/src/sys/luna68k/dev/pioreg.h
new file mode 100644 (file)
index 0000000..0a52901
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 1992 OMRON Corporation.
+ * Copyright (c) 1992 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * OMRON Corporation.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)pioreg.h    7.1 (Berkeley) %G%
+ */
+
+/*
+ * PIO definitions
+ * OMRON: $Id: pioreg.h,v 1.1 92/05/27 14:33:18 moti Exp $
+ * by Shigeto Mochida 
+ */
+
+#define        PIO0_ADDR       0x49000000      /* pio0 address */
+#define        PIO1_ADDR       0x4D000000      /* pio1 address */
+
+#define        PIO_MODED       0xB6            /* pio mode set */
+
+struct pio {
+    unsigned char      a_port;
+    unsigned char      b_port;
+    unsigned char      c_port;
+    unsigned char      control_port;
+};