From: Yu Watanabe Date: Thu, 3 Dec 2020 02:23:50 +0000 (+0900) Subject: ethtool: add two new link modes X-Git-Tag: v248-rc1~591^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17830%2Fhead;p=thirdparty%2Fsystemd.git ethtool: add two new link modes --- diff --git a/src/shared/ethtool-util.c b/src/shared/ethtool-util.c index e6fab262f2d..3b3d37cccca 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);