Skip to content
Commit 8bca4589 authored by Christian 'Ansuel' Marangi's avatar Christian 'Ansuel' Marangi Committed by Paolo Abeni
Browse files

net: ethernet: stmmac: reset force speed bit for ipq806x



Some bootloader may set the force speed regs even if the actual
interface should use autonegotiation between PCS and PHY.
This cause the complete malfuction of the interface.

To fix this correctly reset the force speed regs if a fixed-link is not
defined in the DTS. With a fixed-link node correctly configure the
forced speed regs to handle any misconfiguration by the bootloader.

Reported-by: default avatarMark Mentovai <mark@moxienet.com>
Co-developed-by: default avatarMark Mentovai <mark@moxienet.com>
Signed-off-by: default avatarMark Mentovai <mark@moxienet.com>
Signed-off-by: default avatarChristian 'Ansuel' Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20220614112228.1998-2-ansuelsmth@gmail.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 9ec092d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment