[PATCH net-next 2/2] net: stmmac: report active PHY interface
Maxime Chevallier
maxime.chevallier at bootlin.com
Wed Jan 28 06:14:15 PST 2026
Hi,
On 28/01/2026 11:48, Russell King (Oracle) wrote:
> Report the active PHY interface from the point of view of the dwmac
> hardware to the kernel log, where the core supports reading this.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Tested with dwmac-socfpga on CycloneV :
RGMII interface :
[ 0.898925] socfpga-dwmac ff700000.ethernet: Active PHY interface: RGMII (1)
1000BaseX/SGMII interface connected to Lynx PCS :
[ 1.003223] socfpga-dwmac ff702000.ethernet: Active PHY interface: GMII/MII (0)
Nice.
Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Tested-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Thanks,
Maxime
More information about the linux-riscv
mailing list