diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-05-29 16:29:29 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-31 04:32:15 +0300 |
commit | 02d00dc73d8d0613f82063ed53d67912a422c21e (patch) | |
tree | fe95b42100bc495834c8fdfe4becd037fab5d53b /drivers/net/phy | |
parent | fea49f065c1cff71a86e7629094f912531edf035 (diff) | |
download | linux-02d00dc73d8d0613f82063ed53d67912a422c21e.tar.xz |
net: phylink: rename ovr_an_inband to default_an_inband
Since ovr_an_inband no longer overrides every MLO_AN_xxx mode, rename
it to reflect what it now does - it changes the default mode from
MLO_AN_PHY to MLO_AN_INBAND. Fix up the two users of this.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/E1sCJMv-00Ecr1-Sk@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phylink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index c81f1c1ee675..02427378acfd 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -885,7 +885,7 @@ static int phylink_parse_mode(struct phylink *pl, const char *managed; unsigned long caps; - if (pl->config->ovr_an_inband) + if (pl->config->default_an_inband) pl->cfg_link_an_mode = MLO_AN_INBAND; dn = fwnode_get_named_child_node(fwnode, "fixed-link"); |