projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0869b3a
)
bcm63xx_enet: use an unique MDIO bus name.
author
Florian Fainelli
<
[email protected]
>
Mon, 9 Jan 2012 23:59:24 +0000
(23:59 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 11 Jan 2012 00:35:02 +0000
(16:35 -0800)
Signed-off-by: Florian Fainelli <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/broadcom/bcm63xx_enet.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
index d44331eb07fef00dae3f8e42e1e43a40bf3672bf..986019b2c8490726f74ad31770aeece308117168 100644
(file)
--- a/
drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/
drivers/net/ethernet/broadcom/bcm63xx_enet.c
@@
-1727,7
+1727,7
@@
static int __devinit bcm_enet_probe(struct platform_device *pdev)
bus->priv = priv;
bus->read = bcm_enet_mdio_read_phylib;
bus->write = bcm_enet_mdio_write_phylib;
- sprintf(bus->id, "%
d"
, priv->mac_id);
+ sprintf(bus->id, "%
s-%d", pdev->name
, priv->mac_id);
/* only probe bus where we think the PHY is, because
* the mdio read operation return 0 instead of 0xffff