[PATCH 34/44] leon, grspw_pkt: fix interrupt code ctrl bit declarations
Daniel Hellstrom
daniel at gaisler.com
Fri Mar 3 14:57:07 UTC 2017
---
c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 8f660e7..8853a36 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
@@ -266,7 +266,7 @@ struct grspw_regs {
#define GRSPW_ICCTRL_ID_BIT 7
#define GRSPW_ICCTRL_II_BIT 6
#define GRSPW_ICCTRL_TXIRQ_BIT 0
-#define GRSPW_ICCTRL_INUM (0x3f << GRSPW_ICCTRL_INUM_BIT)
+#define GRSPW_ICCTRL_INUM (0x1f << GRSPW_ICCTRL_INUM_BIT)
#define GRSPW_ICCTRL_IA (1 << GRSPW_ICCTRL_IA_BIT)
#define GRSPW_ICCTRL_LE (1 << GRSPW_ICCTRL_LE_BIT)
#define GRSPW_ICCTRL_PR (1 << GRSPW_ICCTRL_PR_BIT)
--
2.7.4
More information about the devel
mailing list