summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-08-25 12:25:14 +0200
committerMichal Simek <monstr@monstr.eu>2011-10-03 08:04:13 +0200
commit25a025518b7034e43c420d2cfec83a9eab7f70bb (patch)
tree03720439f3d76f30f32caa26f5816f334ca5e214 /drivers/net
parent7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4 (diff)
downloadu-boot-imx-25a025518b7034e43c420d2cfec83a9eab7f70bb.zip
u-boot-imx-25a025518b7034e43c420d2cfec83a9eab7f70bb.tar.gz
u-boot-imx-25a025518b7034e43c420d2cfec83a9eab7f70bb.tar.bz2
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/xilinx_emaclite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 3c7c250..8d170a3 100644
--- a/drivers/net/xilinx_emaclite.c
+++ b/drivers/net/xilinx_emaclite.c
@@ -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;