diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-13 09:01:54 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2017-03-06 07:54:55 +0100 |
commit | 4431f7d262f6c5c402fda262f31facc543c905a8 (patch) | |
tree | 8cca6cb2c95138c2194cd6b9f7f9c0ef0a149436 | |
parent | leon, gr1553b: comment cleanup (diff) | |
download | rtems-4431f7d262f6c5c402fda262f31facc543c905a8.tar.bz2 |
leon, gr1553b: RT status words register declarations fix
The fix does not affect the driver since the bit definitions
were never used by the GR5133B drivers. However it could affect
and application using the definitions.
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/gr1553b.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/gr1553b.h b/c/src/lib/libbsp/sparc/shared/include/gr1553b.h index 11f09809ec..006417b530 100644 --- a/c/src/lib/libbsp/sparc/shared/include/gr1553b.h +++ b/c/src/lib/libbsp/sparc/shared/include/gr1553b.h @@ -198,17 +198,19 @@ struct gr1553b_regs { #define GR1553B_RT_CFG_RTKEY (0xffff<<GR1553B_RT_CFG_RTKEY_BIT) /*** RT Bus Status Register ***/ -#define GR1553B_RT_STAT2_RTEN_BIT 0 +#define GR1553B_RT_STAT2_TFLG_BIT 0 #define GR1553B_RT_STAT2_DBCA_BIT 1 #define GR1553B_RT_STAT2_SSF_BIT 2 #define GR1553B_RT_STAT2_BUSY_BIT 3 #define GR1553B_RT_STAT2_SREQ_BIT 4 +#define GR1553B_RT_STAT2_TFDE_BIT 8 -#define GR1553B_RT_STAT2_RTEN (1<<GR1553B_RT_STAT2_RTEN_BIT) +#define GR1553B_RT_STAT2_TFLG (1<<GR1553B_RT_STAT2_TFLG_BIT) #define GR1553B_RT_STAT2_DBCA (1<<GR1553B_RT_STAT2_DBCA_BIT) #define GR1553B_RT_STAT2_SSF (1<<GR1553B_RT_STAT2_SSF_BIT) #define GR1553B_RT_STAT2_BUSY (1<<GR1553B_RT_STAT2_BUSY_BIT) -#define GR1553B_RT_STAT2_SREQ (1<<GR1553B_RT_STAT2_RTEN_BIT) +#define GR1553B_RT_STAT2_SREQ (1<<GR1553B_RT_STAT2_SREQ_BIT) +#define GR1553B_RT_STAT2_TFDE (1<<GR1553B_RT_STAT2_TFDE_BIT) /*** RT Status Words Register ***/ #define GR1553B_RT_STATW_VECW_BIT 0 |