aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk2010-08-05 21:31:54 +0200
committerWolfgang Denk2010-08-05 21:31:54 +0200
commit82369c09d93a5ae873f1fc8a1bf1dece014a1b84 (patch)
treead132c4e8c7192aa67f05e62e61e766d62033224
parentcdb749778aa3a8f8d2a41dd4ad811ef822aecfe6 (diff)
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 <wd@denx.de> Cc: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--drivers/net/mpc5xxx_fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c
index 1681e267243..4a1c8e6e42e 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)