projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a05a82
)
ixp4xx-eth: use an unique MDIO bus name.
author
Florian Fainelli
<florian@openwrt.org>
Mon, 9 Jan 2012 23:59:23 +0000
(23:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jan 2012 00:35:01 +0000
(16:35 -0800)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/xscale/ixp4xx_eth.c
b/drivers/net/ethernet/xscale/ixp4xx_eth.c
index f45c85a8426125be667c80cd4e8408bb58fc7337..72a854f05bb8042cf8392c518377652e8af62daf 100644
(file)
--- a/
drivers/net/ethernet/xscale/ixp4xx_eth.c
+++ b/
drivers/net/ethernet/xscale/ixp4xx_eth.c
@@
-529,7
+529,7
@@
static int ixp4xx_mdio_register(void)
mdio_bus->name = "IXP4xx MII Bus";
mdio_bus->read = &ixp4xx_mdio_read;
mdio_bus->write = &ixp4xx_mdio_write;
- s
trcpy(mdio_bus->id, "
0");
+ s
nprintf(mdio_bus->id, MII_BUS_ID_SIZE, "ixp4xx-eth-
0");
if ((err = mdiobus_register(mdio_bus)))
mdiobus_free(mdio_bus);