Skip to content
Snippets Groups Projects
Commit 2a7d603f authored by Sandeep Paulraj's avatar Sandeep Paulraj Committed by Albert Aribaud
Browse files

DaVinci EMAC: Add name to Ethernet device


Adds "DaVinci-EMAC" as the name of the device so that
it gets printed as "Using DaVinci-EMAC device"
during network access (dhcp, tftp) instead of empty name
in "Using" statement.This name also gets
reflected in 'ethact' env variable.


Signed-off-by: default avatarHemant Pedanekar <hemantp@ti.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 4b9b9e7c
No related branches found
No related tags found
No related merge requests found
...@@ -667,6 +667,7 @@ int davinci_emac_initialize(void) ...@@ -667,6 +667,7 @@ int davinci_emac_initialize(void)
return -1; return -1;
memset(dev, 0, sizeof *dev); memset(dev, 0, sizeof *dev);
sprintf(dev->name, "DaVinci-EMAC");
dev->iobase = 0; dev->iobase = 0;
dev->init = davinci_eth_open; dev->init = davinci_eth_open;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment