summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
diff options
context:
space:
mode:
authorRaju Rangoju <Raju.Rangoju@amd.com>2023-11-22 00:44:33 +0530
committerPaolo Abeni <pabeni@redhat.com>2023-11-23 13:47:23 +0100
commit676ec53844cbdf2f47e68a076cdff7f0ec6cbe3f (patch)
treebe6375a2e56fed2506d901cca2d8a4d2da269a1e /drivers/net/ethernet/amd/xgbe/xgbe-drv.c
parent818ad9cc90d4a7165caaee7e32800c50d0564ec3 (diff)
amd-xgbe: handle corner-case during sfp hotplug
Force the mode change for SFI in Fixed PHY configurations. Fixed PHY configurations needs PLL to be enabled while doing mode set. When the SFP module isn't connected during boot, driver assumes AN is ON and attempts auto-negotiation. However, if the connected SFP comes up in Fixed PHY configuration the link will not come up as PLL isn't enabled while the initial mode set command is issued. So, force the mode change for SFI in Fixed PHY configuration to fix link issues. Fixes: e57f7a3feaef ("amd-xgbe: Prepare for working with more than one type of phy") Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe/xgbe-drv.c')
0 files changed, 0 insertions, 0 deletions