netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/3] net: phy: shrink PHY settings array and add 200Gbps support
@ 2019-04-13 18:47 Heiner Kallweit
  2019-04-13 18:48 ` [PATCH v2 net-next 1/3] net: phy: shrink PHY settings array Heiner Kallweit
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Heiner Kallweit @ 2019-04-13 18:47 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, David Miller,
	netdev@vger.kernel.org

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-14 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-13 18:47 [PATCH v2 net-next 0/3] net: phy: shrink PHY settings array and add 200Gbps support Heiner Kallweit
2019-04-13 18:48 ` [PATCH v2 net-next 1/3] net: phy: shrink PHY settings array Heiner Kallweit
2019-04-13 20:17   ` Andrew Lunn
2019-04-13 18:50 ` [PATCH v2 net-next 2/3] net: phy: add support for new modes in phylib Heiner Kallweit
2019-04-13 20:17   ` Andrew Lunn
2019-04-13 18:53 ` [PATCH v2 net-next 3/3] phy: warn if phylib and ethtool PHY mode definitions are out of sync Heiner Kallweit
2019-04-13 20:18   ` Andrew Lunn
2019-04-14 20:37 ` [PATCH v2 net-next 0/3] net: phy: shrink PHY settings array and add 200Gbps support David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).