summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2015-02-04 10:33:17 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2015-02-11 15:35:30 +0100
commit5efbb6619cb872cf90b133418cc7fbea4b9af975 (patch)
tree866cc46e9f979ab6c87fb96bb6b0eda038582b73
parentdoc: Document network task affinity option (diff)
downloadrtems-5efbb6619cb872cf90b133418cc7fbea4b9af975.tar.bz2
grspw: Fix typos
-rw-r--r--c/src/lib/libbsp/sparc/shared/spw/grspw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw.c b/c/src/lib/libbsp/sparc/shared/spw/grspw.c
index d3eb9b90d8..d869d17b42 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw.c
@@ -1379,8 +1379,8 @@ static int grspw_hw_init(GRSPW_DEV *pDev) {
pDev->rx = (SPACEWIRE_RXBD *) pDev->mem_bdtable;
pDev->tx = (SPACEWIRE_RXBD *) pDev->mem_bdtable + SPACEWIRE_BDTABLE_SIZE;
#else
- pDev->rx = (SPACEWIRE_RXBD *) rtems_heap_allocate_aligned_with_boundry( SPACEWIRE_BDTABLE_SIZE, 1024, 0 );
- pDev->tx = (SPACEWIRE_TXBD *) rtems_heap_allocate_aligned_with_boundry( SPACEWIRE_BDTABLE_SIZE, 1024, 0 );
+ pDev->rx = (SPACEWIRE_RXBD *) rtems_heap_allocate_aligned_with_boundary( SPACEWIRE_BDTABLE_SIZE, 1024, 0 );
+ pDev->tx = (SPACEWIRE_TXBD *) rtems_heap_allocate_aligned_with_boundary( SPACEWIRE_BDTABLE_SIZE, 1024, 0 );
#endif
SPACEWIRE_DBG("hw_init [minor %i]\n", pDev->minor);
@@ -1423,7 +1423,7 @@ static void grspw_hw_reset(GRSPW_DEV *pDev)
SPW_CTRL_WRITE(pDev, SPW_CTRL_LINKSTART); /*start link core*/
#ifndef GRSPW_STATIC_MEM
free(pDev->rx);
- free(pDec->tx);
+ free(pDev->tx);
#endif
}