diff options
| author | Wolfgang Denk <[email protected]> | 2010-08-05 21:31:54 +0200 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2010-08-05 21:31:54 +0200 |
| commit | 82369c09d93a5ae873f1fc8a1bf1dece014a1b84 (patch) | |
| tree | ad132c4e8c7192aa67f05e62e61e766d62033224 | |
| parent | cdb749778aa3a8f8d2a41dd4ad811ef822aecfe6 (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 <[email protected]>
Cc: Ben Warren <[email protected]>
| -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 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) |
