]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: txgbe: use phylink_pcs_change() to report PCS link change events
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 26 Apr 2024 16:18:08 +0000 (17:18 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Apr 2024 02:04:35 +0000 (19:04 -0700)
commitdd1941f801bc958d2ee13f5be8b38db6b034b806
tree858b4bc9824b15cfa0dca3cee8014e4c55d509d4
parente47e5e85da3abfc68b3e2f574285234b3fff6fc0
net: txgbe: use phylink_pcs_change() to report PCS link change events

Use phylink_pcs_change() when reporting changes in PCS link state to
phylink as the interrupts are informing us about changes to the PCS
state.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://lore.kernel.org/r/E1s0OH2-009hgx-Qw@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c