The definition of array settings[] is quite lengthy meanwhile. Add a
macro to shrink the definition.
When doing this I saw that the new 200Gbps modes and few 100Gbps/50Gbps
modes aren't supported in phylib yet. So add this.
To avoid ethtool and phylib mode definitions getting out of sync, add
a build bug to check for this.
Heiner Kallweit (3):
net: phy: shrink PHY settings array
net: phy: add support for new modes in phylib
net: phy: warn if phylib and ethtool PHY mode definitions are out of
sync
drivers/net/phy/phy-core.c | 271 ++++++++++---------------------------
1 file changed, 68 insertions(+), 202 deletions(-)
--
2.21.0