提交 2a7d603f 编写于 作者: S Sandeep Paulraj 提交者: Albert Aribaud

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: NHemant Pedanekar <hemantp@ti.com>
Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
上级 4b9b9e7c
......@@ -667,6 +667,7 @@ int davinci_emac_initialize(void)
return -1;
memset(dev, 0, sizeof *dev);
sprintf(dev->name, "DaVinci-EMAC");
dev->iobase = 0;
dev->init = davinci_eth_open;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册