forked from Imagelibrary/rtems
GRETH: updated worker Deamon thread name
The name was probably copied from the DEC21140 driver
This commit is contained in:
@@ -1067,6 +1067,7 @@ greth_init (void *arg)
|
|||||||
{
|
{
|
||||||
struct greth_softc *sc = arg;
|
struct greth_softc *sc = arg;
|
||||||
struct ifnet *ifp = &sc->arpcom.ac_if;
|
struct ifnet *ifp = &sc->arpcom.ac_if;
|
||||||
|
char name[4] = {'E', 'T', 'H', '0'};
|
||||||
|
|
||||||
if (sc->daemonTid == 0)
|
if (sc->daemonTid == 0)
|
||||||
{
|
{
|
||||||
@@ -1074,7 +1075,8 @@ greth_init (void *arg)
|
|||||||
/*
|
/*
|
||||||
* Start driver tasks
|
* Start driver tasks
|
||||||
*/
|
*/
|
||||||
sc->daemonTid = rtems_bsdnet_newproc ("DCrxtx", 4096,
|
name[3] += sc->minor;
|
||||||
|
sc->daemonTid = rtems_bsdnet_newproc (name, 4096,
|
||||||
greth_Daemon, sc);
|
greth_Daemon, sc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user