summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial/mc68681_reg8.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-15 23:54:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-15 23:54:08 +0000
commitcce93220ece0d90d0a97debb583768257b4b0cf3 (patch)
tree1cb1080b68ad9566f7f945c474d789ee4136d403 /c/src/libchip/serial/mc68681_reg8.c
parentAdded check for proper deviceType to interrupt processing code. (diff)
downloadrtems-cce93220ece0d90d0a97debb583768257b4b0cf3.tar.bz2
Added default mc68681 register access routines.
Diffstat (limited to '')
-rw-r--r--c/src/libchip/serial/mc68681_reg8.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/libchip/serial/mc68681_reg8.c b/c/src/libchip/serial/mc68681_reg8.c
new file mode 100644
index 0000000000..98753236b6
--- /dev/null
+++ b/c/src/libchip/serial/mc68681_reg8.c
@@ -0,0 +1,23 @@
+/*
+ * This file contains a typical set of register access routines which may be
+ * used with the mc68681 chip if accesses to the chip are as follows:
+ *
+ * + registers are accessed as bytes
+ * + registers are on 32-bit boundaries
+ *
+ * COPYRIGHT (c) 1989-1997.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#define _MC68681_MULTIPLIER 8
+#define _MC68681_NAME(_X) _X##_8
+
+#include "mc68681_reg.c"
+