diff options
author | Wolfgang Denk <wd@denx.de> | 2010-08-05 21:31:54 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-05 21:31:54 +0200 |
commit | 82369c09d93a5ae873f1fc8a1bf1dece014a1b84 (patch) | |
tree | ad132c4e8c7192aa67f05e62e61e766d62033224 | |
parent | cdb749778aa3a8f8d2a41dd4ad811ef822aecfe6 (diff) | |
download | u-boot-imx-82369c09d93a5ae873f1fc8a1bf1dece014a1b84.zip u-boot-imx-82369c09d93a5ae873f1fc8a1bf1dece014a1b84.tar.gz u-boot-imx-82369c09d93a5ae873f1fc8a1bf1dece014a1b84.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c index 1681e26..4a1c8e6 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) |