On 09/03/18 12:58, Andrew Lunn wrote: >> Don't you want to go one step further and incorporate the logic that xgenet, >> tg3, gianfar and others have? That is: look at the currently advertised >> parameters, determine what changed, and re-start auto-negotiation as a >> result of it being enabled and something changed? > > Hi Florian > > Given the number of changes i'm making, over a so many different > drivers which i cannot test, i wanted to try to keep the changes > KISS. That way we are more likely to spot errors during review. So i > would prefer to be done later, unless it actually makes review > simpler... That's fine, but you still need to keep the test for phydev->autoneg in xgene I believe. Since all of these drivers appear to be doing the same thing, that's why I suggested moving this into the helper directly. -- Florian
- [PATCH net-next 09/12] net: ethernet: Add helper for MACs... Andrew Lunn
- Re: [PATCH net-next 09/12] net: ethernet: Add helper... Florian Fainelli
- [PATCH net-next 08/12] net: ethernet: Add helper for MACs... Andrew Lunn
- Re: [PATCH net-next 08/12] net: ethernet: Add helper... Florian Fainelli
- [PATCH net-next 04/12] net: ethernet: Use phy_set_max_spe... Andrew Lunn
- Re: [PATCH net-next 04/12] net: ethernet: Use phy_se... Florian Fainelli
- [PATCH net-next 10/12] net: ethernet: Add helper for set_... Andrew Lunn
- Re: [PATCH net-next 10/12] net: ethernet: Add helper... Florian Fainelli
- Re: [PATCH net-next 10/12] net: ethernet: Add he... Andrew Lunn
- Re: [PATCH net-next 10/12] net: ethernet: Ad... Florian Fainelli
- [PATCH net-next 01/12] net: phy: ste10Xp: Remove wrong SU... Andrew Lunn
- Re: [PATCH net-next 01/12] net: phy: ste10Xp: Remove... Florian Fainelli
- [PATCH net-next 03/12] net: phy: bcm63xx: Allow to be bui... Andrew Lunn
- Re: [PATCH net-next 03/12] net: phy: bcm63xx: Allow ... Florian Fainelli
- Re: [PATCH net-next 00/12] Preparing for phylib limkmodes David Miller