diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-09 23:59:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-10 16:35:02 -0800 |
commit | 3e617506c17df5cba55d7c615ec7cfbc812ec5fa (patch) | |
tree | 951bff023324e9e1b26696fedf603034382ebf53 | |
parent | 0869b3a456d62070fb1f7e3519fd53934b52530c (diff) | |
download | op-kernel-dev-3e617506c17df5cba55d7c615ec7cfbc812ec5fa.zip op-kernel-dev-3e617506c17df5cba55d7c615ec7cfbc812ec5fa.tar.gz |
bcm63xx_enet: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c index d44331e..986019b 100644 --- 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 |