Commit 73677567 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

mii_bus

parent 611e731f
...@@ -882,8 +882,8 @@ static int ar8035_phy_fixup(struct phy_device *dev) ...@@ -882,8 +882,8 @@ static int ar8035_phy_fixup(struct phy_device *dev)
u16 val; u16 val;
// Elphel: phy_device has changed // Elphel: phy_device has changed
//struct net_local *lp = dev->bus->priv; //struct net_local *lp = dev->bus->priv;
struct mdio_device *mdiodev = &(dev->mdio); struct mii_bus *bus = dev->mdio.bus;
struct net_local *lp = mdiodev->bus->priv; struct net_local *lp = bus->priv;
dev_dbg(&lp->pdev->dev,"fixup start"); dev_dbg(&lp->pdev->dev,"fixup start");
/* Ar803x phy SmartEEE feature cause link status generates glitch, /* Ar803x phy SmartEEE feature cause link status generates glitch,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment