[PATCH 036/111] GRETH: updated worker Deamon thread name
Daniel Hellstrom
daniel at gaisler.com
Thu Feb 26 16:38:38 UTC 2015
The name was probably copied from the DEC21140 driver
---
c/src/lib/libbsp/sparc/shared/net/greth.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/net/greth.c b/c/src/lib/libbsp/sparc/shared/net/greth.c
index 31eeade..733b2a4 100644
--- a/c/src/lib/libbsp/sparc/shared/net/greth.c
+++ b/c/src/lib/libbsp/sparc/shared/net/greth.c
@@ -1067,6 +1067,7 @@ greth_init (void *arg)
{
struct greth_softc *sc = arg;
struct ifnet *ifp = &sc->arpcom.ac_if;
+ char name[4] = {'E', 'T', 'H', '0'};
if (sc->daemonTid == 0)
{
@@ -1074,7 +1075,8 @@ greth_init (void *arg)
/*
* Start driver tasks
*/
- sc->daemonTid = rtems_bsdnet_newproc ("DCrxtx", 4096,
+ name[3] += sc->minor;
+ sc->daemonTid = rtems_bsdnet_newproc (name, 4096,
greth_Daemon, sc);
/*
--
1.7.0.4
More information about the devel
mailing list