net: xilinx_axi: Use interface type instead of zero
Pass appropriate interface type to phy_connect instead of zero. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
217185b319
commit
9c0da76220
@ -251,7 +251,7 @@ static int axiemac_phy_init(struct udevice *dev)
|
||||
}
|
||||
|
||||
/* Interface - look at tsec */
|
||||
phydev = phy_connect(priv->bus, priv->phyaddr, dev, 0);
|
||||
phydev = phy_connect(priv->bus, priv->phyaddr, dev, priv->interface);
|
||||
|
||||
phydev->supported &= supported;
|
||||
phydev->advertising = phydev->supported;
|
||||
|
Loading…
Reference in New Issue
Block a user