summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/spw
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2013-07-03 10:06:37 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:21 +0200
commitc119c0e687c4ff7db410bda1fe7846c0971844f5 (patch)
treef7b6b060f5171336d74ae290d05a4a701c6ccecf /c/src/lib/libbsp/sparc/shared/spw
parentAMBAPP: updated PnP IDs database with SPWTDP (diff)
downloadrtems-c119c0e687c4ff7db410bda1fe7846c0971844f5.tar.bz2
GRSPW: Fix incorrect register defines - presently functionally inconsequential
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/spw')
-rw-r--r--c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c b/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
index 6b6820a4d9..1696c3c02b 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
@@ -173,10 +173,10 @@ struct grspw_regs {
#define GRSPW_DK_DESTKEY (0xff<<GRSPW_DK_DESTKEY_BIT)
/* GRSPW - Time Register - 0x14 */
-#define GRSPW_TIME_CTRL_BIT 0
-#define GRSPW_TIME_CNT_BIT 6
-#define GRSPW_TIME_CTRL (0x3f<<GRSPW_TIME_CTRL_BIT)
-#define GRSPW_TIME_TCNT (0x3<<GRSPW_TIME_CNT_BIT)
+#define GRSPW_TIME_CTRL_BIT 6
+#define GRSPW_TIME_CNT_BIT 0
+#define GRSPW_TIME_CTRL (0x3<<GRSPW_TIME_CTRL_BIT)
+#define GRSPW_TIME_TCNT (0x3f<<GRSPW_TIME_CNT_BIT)
/* GRSPW - DMA Control Register - 0x20*N */
#define GRSPW_DMACTRL_LE_BIT 16