linux-stable/drivers/net
Oleksij Rempel 771c505587 net: phy: dp83tg720: get master/slave configuration in link down state
commit 40a64cc967 upstream.

Get master/slave configuration for initial system start with the link in
down state. This ensures ethtool shows current configuration.  Also
fixes link reconfiguration with ethtool while in down state, preventing
ethtool from displaying outdated configuration.

Even though dp83tg720_config_init() is executed periodically as long as
the link is in admin up state but no carrier is detected, this is not
sufficient for the link in admin down state where
dp83tg720_read_status() is not periodically executed. To cover this
case, we need an extra read role configuration in
dp83tg720_config_aneg().

Fixes: cb80ee2f9b ("net: phy: Add support for the DP83TG720S Ethernet PHY")
Cc: stable@vger.kernel.org
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20240614094516.1481231-2-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-27 13:52:26 +02:00
..
arcnet
bonding bonding: fix oops during rmmod 2024-06-16 13:51:08 +02:00
caif
can
dsa net: dsa: realtek: do not assert reset on remove 2024-06-27 13:52:14 +02:00
ethernet net: stmmac: Assign configured channel value to EXTTS event 2024-06-27 13:52:26 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound 2024-06-12 11:39:56 +02:00
mctp
mdio
netdevsim netdevsim: fix backwards compatibility in nsim_get_iflink() 2024-06-21 14:40:21 +02:00
pcs
phy net: phy: dp83tg720: get master/slave configuration in link down state 2024-06-27 13:52:26 +02:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: ax88179_178a: improve reset check 2024-06-27 13:52:26 +02:00
vmxnet3 vmxnet3: disable rx data ring on dma allocation failure 2024-06-21 14:40:04 +02:00
vxlan vxlan: Fix regression when dropping packets due to invalid src addresses 2024-06-16 13:50:54 +02:00
wan
wireguard
wireless wifi: iwlwifi: mvm: fix ROC version check 2024-06-27 13:52:19 +02:00
wwan net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-21 14:40:08 +02:00
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c geneve: Fix incorrect inner network header offset when innerprotoinherit is set 2024-06-21 14:40:22 +02:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled 2024-06-12 11:39:38 +02:00
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c netkit: Fix pkt_type override upon netkit pass verdict 2024-06-12 11:39:48 +02:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c virtio_net: fixing XDP for fully checksummed packets handling 2024-06-27 13:52:22 +02:00
vrf.c inet: introduce dst_rtable() helper 2024-06-12 11:39:55 +02:00
vsockmon.c
xen-netfront.c