Re: [PATCH net-next v2 1/5] net: stmmac: enable clause 45 mdio support

2019-05-24 Thread David Miller
From: Voon Weifeng Date: Thu, 23 May 2019 23:32:43 +0800 > +static void stmmac_mdio_c45_setup(struct stmmac_priv *priv, int phyreg, > + u32 *val, u32 *data) > +{ > + unsigned int reg_mask = priv->hw->mii.reg_mask; > + unsigned int reg_shift = priv->hw->mii.re

Re: [PATCH net-next v2 1/5] net: stmmac: enable clause 45 mdio support

2019-05-24 Thread biao huang
Hi Weifeng, clause45 mdio access with this patch test pass on our platform, thanks! On Thu, 2019-05-23 at 23:32 +0800, Voon Weifeng wrote: > From: Kweh Hock Leong > > DWMAC4 is capable to support clause 45 mdio communication. > This patch enable the feature on stmmac_mdio_write() and > stmmac_m