From: Wolfgang Denk Date: Thu, 5 Aug 2010 19:31:54 +0000 (+0200) Subject: net 52xx: fix ethernet device names with spaces X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=82369c09d93a5ae873f1fc8a1bf1dece014a1b84;p=u-boot.git net 52xx: fix ethernet device names with spaces Some commands (like 'mii') use this name to select devices, but they break when those names contain spaces. So drop the space from Ethernet driver names (cf. commit 1384f3bb). Signed-off-by: Wolfgang Denk Cc: Ben Warren --- diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c index 1681e26724..4a1c8e6e42 100644 --- a/drivers/net/mpc5xxx_fec.c +++ b/drivers/net/mpc5xxx_fec.c @@ -913,7 +913,7 @@ int mpc5xxx_fec_initialize(bd_t * bis) dev->send = mpc5xxx_fec_send; dev->recv = mpc5xxx_fec_recv; - sprintf(dev->name, "FEC ETHERNET"); + sprintf(dev->name, "FEC"); eth_register(dev); #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)