Re: [PATCH net-next 1/2] net: phy: shrink PHY settings array

2019-04-13 Thread Heiner Kallweit
On 13.04.2019 19:14, Andrew Lunn wrote: >> +PHY_SETTING( 10, FULL, 10baseCR4_Full ), >> +PHY_SETTING( 10, FULL, 10baseKR4_Full ), >> +PHY_SETTING( 10, FULL, 10baseLR4_ER4_Full ), >> +PHY_SETTING( 10, FULL, 10baseSR4_Full

Re: [PATCH net-next 1/2] net: phy: shrink PHY settings array

2019-04-13 Thread Andrew Lunn
> + PHY_SETTING( 10, FULL, 10baseCR4_Full ), > + PHY_SETTING( 10, FULL, 10baseKR4_Full ), > + PHY_SETTING( 10, FULL, 10baseLR4_ER4_Full ), > + PHY_SETTING( 10, FULL, 10baseSR4_Full ), > + PHY_SETTING( 56000, FU

[PATCH net-next 1/2] net: phy: shrink PHY settings array

2019-04-13 Thread Heiner Kallweit
The definition of array settings[] is quite lengthy meanwhile. Add a macro to shrink the definition. Signed-off-by: Heiner Kallweit --- drivers/net/phy/phy-core.c | 247 +++-- 1 file changed, 45 insertions(+), 202 deletions(-) diff --git a/drivers/net/phy/phy-cor