GRETH: updated worker Deamon thread name

The name was probably copied from the DEC21140 driver
This commit is contained in:
Daniel Hellstrom
2013-03-12 14:49:33 +01:00
parent 552d4a9ce5
commit bee7c46f85

View File

@@ -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);
/*