Re: [PATCH net-next 2/2] net: macb: add support for reporting SGMII inband link status
From: Russell King (Oracle)
Date: Thu Feb 19 2026 - 12:17:00 EST
On Thu, Feb 19, 2026 at 09:01:12AM -0800, Charles Perry wrote:
> This makes it possible to use in-band autonegotiation with
> SGMII.
>
> If using a device tree, this can be done by adding the managed =
> "in-band-status" property to the gem node.
>
> Signed-off-by: Charles Perry <charles.perry@xxxxxxxxxxxxx>
...
> root@p64h:~# ifconfig eth1 up 10.180.59.33
> macb 40004184000.ethernet eth1: PHY 4000c21e000.mdio-mdio:02 doesn't supply possible interfaces
> macb 40004184000.ethernet eth1: PHY [4000c21e000.mdio-mdio:02] driver [Microsemi GE VSC8574 SyncE] (irq=POLL)
> macb 40004184000.ethernet eth1: phy: sgmii setting supported 00000000,00000000,00000000,000042ff advertising 00000000,00000000,00000000,000042ff
> macb 40004184000.ethernet eth1: configuring for inband/sgmii link mode
> macb 40004184000.ethernet eth1: major config, requested inband/sgmii
> macb 40004184000.ethernet eth1: interface sgmii inband modes: pcs=00 phy=03
As your PCS is now configurable, please implement the .pcs_inband_caps
method (which will make the above pcs != 0.)
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!