diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-03 11:23:50 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-03 11:23:50 +0900 |
commit | 131e4deaf33c704cca707be653bb2b39d1829253 (patch) | |
tree | 0f9f9503c4df9a6acfa22d84ef3d9bc50c2da836 | |
parent | 89836c304b2aba5ff1524d5cccf3b74b3d5ba8df (diff) | |
download | systemd-131e4deaf33c704cca707be653bb2b39d1829253.tar.gz |
ethtool: add two new link modes
-rw-r--r-- | src/shared/ethtool-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/ethtool-util.c b/src/shared/ethtool-util.c index e6fab262f2..3b3d37cccc 100644 --- a/src/shared/ethtool-util.c +++ b/src/shared/ethtool-util.c @@ -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); |