RE: [PATCH 2/2] net-next: stmmac: add mdio clause 45 access from mac device for dwmac4

Jose Abreu
2019-04-29T15:03:59Z

From: Biao Huang <biao.huang@mediatek.com>
Date: Mon, Apr 29, 2019 at 07:35:24

> + value |= priv->hw->mii.cl45_en;

This tells the MAC that a C45 Capable PHY is connected so it should be
written before anything else. Maybe that explains the need for the
mdelay() that you have in the code ?

Thanks,
Jose Miguel Abreu