mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
libnm: rename "ethtool.eee" property to "ethtool.eee-enabled"
There are various properties related to EEE, that we might want to add
support for in the future (for example, "ethtool.eee-advertise").
Don't use up the base name "eee", instead make it "eee-enabled". All
properties should have different prefixes, and "ethtool.eee" would be a
prefix of "ethtool.eee-advertise".
Also, the #define is already called NM_ETHTOOL_OPTNAME_EEE_ENABLED. This
also should be consistent.
Rename.
Fixes: 3165d9a2de
('ethtool: introduce EEE support')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1792
This commit is contained in:
parent
b853a3021c
commit
36629ae710
|
@ -109,7 +109,8 @@ G_BEGIN_DECLS
|
|||
#define NM_ETHTOOL_OPTNAME_CHANNELS_OTHER "channels-other"
|
||||
#define NM_ETHTOOL_OPTNAME_CHANNELS_COMBINED "channels-combined"
|
||||
|
||||
#define NM_ETHTOOL_OPTNAME_EEE_ENABLED "eee"
|
||||
#define NM_ETHTOOL_OPTNAME_EEE_ENABLED "eee-enabled"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -109,7 +109,8 @@ G_BEGIN_DECLS
|
|||
#define NM_ETHTOOL_OPTNAME_CHANNELS_OTHER "channels-other"
|
||||
#define NM_ETHTOOL_OPTNAME_CHANNELS_COMBINED "channels-combined"
|
||||
|
||||
#define NM_ETHTOOL_OPTNAME_EEE_ENABLED "eee"
|
||||
#define NM_ETHTOOL_OPTNAME_EEE_ENABLED "eee-enabled"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -1276,7 +1276,7 @@
|
|||
dbus-type="b"
|
||||
is-setting-option="1"
|
||||
/>
|
||||
<property name="eee"
|
||||
<property name="eee-enabled"
|
||||
dbus-type="b"
|
||||
is-setting-option="1"
|
||||
/>
|
||||
|
|
|
@ -1028,7 +1028,7 @@
|
|||
nmcli-description="Whether TX pause should be enabled. Only valid when automatic negotiation is disabled"
|
||||
format="ternary"
|
||||
values="on, off, ignore" />
|
||||
<property name="eee"
|
||||
<property name="eee-enabled"
|
||||
format="ternary"
|
||||
values="on, off, ignore" />
|
||||
<property name="ring-rx"
|
||||
|
|
Loading…
Reference in a new issue