diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/marvell/mv643xx_eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index 80aab4e5d695..9c049d2cb97d 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c | |||
@@ -2613,7 +2613,8 @@ static int mv643xx_eth_shared_probe(struct platform_device *pdev) | |||
2613 | msp->smi_bus->name = "mv643xx_eth smi"; | 2613 | msp->smi_bus->name = "mv643xx_eth smi"; |
2614 | msp->smi_bus->read = smi_bus_read; | 2614 | msp->smi_bus->read = smi_bus_read; |
2615 | msp->smi_bus->write = smi_bus_write, | 2615 | msp->smi_bus->write = smi_bus_write, |
2616 | snprintf(msp->smi_bus->id, MII_BUS_ID_SIZE, "%d", pdev->id); | 2616 | snprintf(msp->smi_bus->id, MII_BUS_ID_SIZE, "%s-%d", |
2617 | pdev->name, pdev->id); | ||
2617 | msp->smi_bus->parent = &pdev->dev; | 2618 | msp->smi_bus->parent = &pdev->dev; |
2618 | msp->smi_bus->phy_mask = 0xffffffff; | 2619 | msp->smi_bus->phy_mask = 0xffffffff; |
2619 | if (mdiobus_register(msp->smi_bus) < 0) | 2620 | if (mdiobus_register(msp->smi_bus) < 0) |