Re: [PATCH net-next 02/12] net: pcs: pcs-xpcs: select operating mode for 10G-baseR capable PCS

Andrew Lunn
2026-05-01T16:51:46Z

> +static int xpcs_config_operating_mode(struct dw_xpcs *xpcs, int an_mode)
> +{
> + int mdio_stat2, ret;
> +
> + switch (an_mode) {
> + case DW_AN_C37_SGMII:
> + case DW_AN_C37_1000BASEX:
> + case DW_2500BASEX:
> + mdio_stat2 = xpcs_read(xpcs, MDIO_MMD_PCS, MDIO_STAT2);
> + if (mdio_stat2 < 0)
> + return mdio_stat2;
> +
> + /*
> + * If this XPCS supports 10Gbase-R then it will be the default
> + * which prevents 1000base-X and slower from working correctly.

It would be interesting to know if Toshiba messed up the integration
of the PCS, or there is an errata for the licensed IP.

Anybody got access to the databook and erratas?

Andrew