[PATCH net-next 1/3] net: stmmac: clear half-duplex caps where unsupported
Maxime Chevallier
maxime.chevallier at bootlin.com
Fri Jan 30 09:29:23 PST 2026
Hi,
On 30/01/2026 12:10, Russell King (Oracle) wrote:
> Where a core supports hardware features, but does not indicate support
> for half-duplex, clear phylink's half-duplex 1G, 100M and 10M
> capability bits to disallow half-duplex operation and advertisement of
> these link modes.
>
> This will avoid the need for special code in the PCS driver to do this
> based on the ESTATUS register bits, as the support in the PCS is
> dependent on the same synthesis choice as the MAC core.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Gave it a quick test on socfpga, as this impacts all variants,
and we seem to be good so,
Tested-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Maxime
More information about the linux-arm-kernel
mailing list