diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-15 23:54:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-15 23:54:08 +0000 |
commit | cce93220ece0d90d0a97debb583768257b4b0cf3 (patch) | |
tree | 1cb1080b68ad9566f7f945c474d789ee4136d403 /c/src/lib/libchip/serial/mc68681_reg8.c | |
parent | Added check for proper deviceType to interrupt processing code. (diff) | |
download | rtems-cce93220ece0d90d0a97debb583768257b4b0cf3.tar.bz2 |
Added default mc68681 register access routines.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libchip/serial/mc68681_reg8.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/lib/libchip/serial/mc68681_reg8.c b/c/src/lib/libchip/serial/mc68681_reg8.c new file mode 100644 index 0000000000..98753236b6 --- /dev/null +++ b/c/src/lib/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" + |