diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-08-18 04:07:46 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-21 19:08:57 -0700 |
commit | 90308679c297ffcbb317c715ef434e9fb3c881dc (patch) | |
tree | 3a63736232724b6bdcd4570b7b941da4a3523956 /drivers/net/ethernet/atheros/alx/ethtool.c | |
parent | 7eb6deb3f55678216a6a0e956846c04958093ea5 (diff) |
net: pcs: lynxi: implement pcs_disable op
When switching from 10GBase-R/5GBase-R/USXGMII to one of the interface
modes provided by mtk-pcs-lynxi we need to make sure to always perform
a full configuration of the PHYA.
Implement pcs_disable op which resets the stored interface mode to
PHY_INTERFACE_MODE_NA to trigger a full reconfiguration once the LynxI
PCS driver had previously been deselected in favor of another PCS
driver such as the to-be-added driver for the USXGMII PCS found in
MT7988.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/f23d1a60d2c9d2fb72e32dcb0eaa5f7e867a3d68.1692327891.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/atheros/alx/ethtool.c')
0 files changed, 0 insertions, 0 deletions