From 82369c09d93a5ae873f1fc8a1bf1dece014a1b84 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 5 Aug 2010 21:31:54 +0200 Subject: [PATCH] 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 --- drivers/net/mpc5xxx_fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5