> >diff --git a/drivers/net/ethernet/renesas/sh_eth.c 
> >b/drivers/net/ethernet/renesas/sh_eth.c
> >index db72d13cebb9..0074c5998481 100644
> >--- a/drivers/net/ethernet/renesas/sh_eth.c
> >+++ b/drivers/net/ethernet/renesas/sh_eth.c
> >@@ -1892,6 +1892,11 @@ static int sh_eth_phy_init(struct net_device *ndev)
> >             return PTR_ERR(phydev);
> >     }
> >+    /* mask with MAC supported features */
> >+    if (mdp->cd->register_type != SH_ETH_REG_GIGABIT)
> >+            phydev->supported &= PHY_BASIC_FEATURES;
> >+    phydev->advertising = phydev->supported;
> >+
> 
>    Um, looking at this again, I think we have phy_set_max_speed() for that
> kind of stuff now...

Ah, yes. I forgot about that.

Thomas, can you make a v2?

    Andrew

Reply via email to