提交 25a02551 编写于 作者: M Michal Simek

net: emaclite: Change driver name and add address

Current xilinx emaclite use net multi registration
but doesn't support several emaclites interfaces.
Changing driver name with adding address to name
is the first step how to distiguish several drivers.
Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 7b8ffea2
......@@ -350,7 +350,7 @@ int xilinx_emaclite_initialize (bd_t *bis, int base_addr)
return -1;
memset(dev, 0, sizeof(*dev));
sprintf(dev->name, "Xilinx_Emaclite");
sprintf(dev->name, "Xelite.%x", base_addr);
dev->iobase = base_addr;
dev->priv = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册