mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
ar71xx: change mii_bus name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18619 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6bed38601c
commit
9152c5c793
@ -187,7 +187,7 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev)
|
||||
am->mii_bus->irq = am->mii_irq;
|
||||
am->mii_bus->priv = am;
|
||||
am->mii_bus->parent = &pdev->dev;
|
||||
snprintf(am->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0);
|
||||
snprintf(am->mii_bus->id, MII_BUS_ID_SIZE, "%s", dev_name(&pdev->dev));
|
||||
am->mii_bus->phy_mask = pdata->phy_mask;
|
||||
|
||||
for (i = 0; i < PHY_MAX_ADDR; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user