mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
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: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
7b8ffea2ac
commit
25a025518b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue