/* Following read/write/reset functions are registered with legacy MII code. These are called for PHY operations by upper layers and we further call the DM MDIO driver functions.  */
static int mdio_read(struct mii_dev *mii_bus, int addr, int devad, int reg)
/* Following read/write/reset functions are registered with legacy MII code. These are called for PHY operations by upper layers and we further call the DM MDIO driver functions.  */
static int mdio_read(struct mii_dev *mii_bus, int addr, int devad, int reg)
{
	struct udevice *dev = mii_bus->priv;
	return mdio_get_ops(dev)->read(dev, addr, devad, reg);
}