summaryrefslogtreecommitdiff
path: root/drivers/net/slip
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-04-22 16:44:44 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-04-27 16:54:58 +0100
commit8c9419fb2fda6c784624d6acdcdbc336dd7d6270 (patch)
tree19873ae323d92327e953936d989330704105ccd7 /drivers/net/slip
parent5e19ef6084485795591839b8a60c8b9c2710683c (diff)
net: phylink: switch to MLO_AN_PHY when PCS uses outband
phylink_pcs_neg_mode() currently only outband mode when we are using MLO_AN_PHY or MLO_AN_FIXED. However, we want to extend the use of this to MLO_AN_INBAND when the PCS and/or PHY are unable to use inband mode. For example, when a PHY is not capable of supporting inband mode, we need to operate in outband mode. However, using outband mode for the PCS while using MLO_AN_INBAND causes drivers to misbehave as it is not a situation they are expecting. Therefore, we need to switch to MLO_AN_PHY when using outband mode. Add the logic to select MLO_AN_PHY mode when phylink_pcs_neg_mode() indicates that it will be using outband mode with a PHY and the requested mode is MLO_AN_INBAND. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/slip')
0 files changed, 0 insertions, 0 deletions