Commit 94842b4f authored by Pavel Belous's avatar Pavel Belous Committed by David S. Miller

net: ethtool: add support for 2500BaseT and 5000BaseT link modes

This patch introduce support for 2500BaseT and 5000BaseT link modes.
These modes are included in the new IEEE 802.3bz standard.
Signed-off-by: default avatarPavel Belous <pavel.s.belous@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1156b48
...@@ -1384,6 +1384,8 @@ enum ethtool_link_mode_bit_indices { ...@@ -1384,6 +1384,8 @@ enum ethtool_link_mode_bit_indices {
ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44, ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44,
ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45, ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45,
ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46, ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46,
ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47,
ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48,
/* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit
...@@ -1393,7 +1395,7 @@ enum ethtool_link_mode_bit_indices { ...@@ -1393,7 +1395,7 @@ enum ethtool_link_mode_bit_indices {
*/ */
__ETHTOOL_LINK_MODE_LAST __ETHTOOL_LINK_MODE_LAST
= ETHTOOL_LINK_MODE_10000baseER_Full_BIT, = ETHTOOL_LINK_MODE_5000baseT_Full_BIT,
}; };
#define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \ #define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment