mirror of
https://github.com/systemd/systemd.git
synced 2025-03-13 00:58:27 +03:00
ethtool: add two new link modes
This commit is contained in:
parent
89836c304b
commit
131e4deaf3
@ -150,6 +150,8 @@ static const char* const ethtool_link_mode_bit_table[] = {
|
||||
[ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full_BIT] = "400000baselr4-er4-fr4-full",
|
||||
[ETHTOOL_LINK_MODE_400000baseDR4_Full_BIT] = "400000basedr4-full",
|
||||
[ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT] = "400000basecr4-full",
|
||||
[ETHTOOL_LINK_MODE_100baseFX_Half_BIT] = "100basefx-half",
|
||||
[ETHTOOL_LINK_MODE_100baseFX_Full_BIT] = "100basefx-full",
|
||||
};
|
||||
/* Make sure the array is large enough to fit all bits */
|
||||
assert_cc((ELEMENTSOF(ethtool_link_mode_bit_table)-1) / 32 < N_ADVERTISE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user