Re: [PATCH net-next] net: dsa: microchip: enable SGMII port for KSZ9897

From: Jakub Kicinski

Date: Mon Jul 20 2026 - 19:34:12 EST


On Fri, 03 Jul 2026 06:37:28 +0000 Tapio Reijonen wrote:
> The KSZ9897 has an SGMII/1000BASE-X capable port 7, but its chip_info
> entry never set .sgmii_port. As a result ksz_has_sgmii_port() is false,
> ksz9477_pcs_create() is never called, and ksz9477_phylink_mac_select_pcs()
> returns NULL for port 7, so no PCS is ever instantiated and a
> phy-mode = "sgmii" or "1000base-x" link on that port cannot come up.

The netdev patch queue has overflown, if this patch is necessary you
will have to repost it.