summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2015-04-13 09:01:54 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-13 09:01:59 +0200
commit3c4f61c69515844e55126aecaf571db7c7f7c881 (patch)
tree6975d393f842c2a705b60c03fc179ff691f63beb
parent3e41737f1a13f41f43027f291814b7035ca54844 (diff)
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.h8
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 3606a40d67..7d0d77828c 100644
--- a/c/src/lib/libbsp/sparc/shared/include/gr1553b.h
+++ b/c/src/lib/libbsp/sparc/shared/include/gr1553b.h
@@ -200,17 +200,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