From: Michal Simek Date: Thu, 25 Aug 2011 10:25:14 +0000 (+0200) Subject: net: emaclite: Change driver name and add address X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=25a025518b7034e43c420d2cfec83a9eab7f70bb;p=u-boot.git 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 --- diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 3c7c2501cb..8d170a31ac 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;