Re: [PATCH net-next 02/12] net: pcs: pcs-xpcs: select operating mode for 10G-baseR capable PCS
From: Alex Elder
Date: Fri May 01 2026 - 14:08:09 EST
On 5/1/26 11:50 AM, Andrew Lunn wrote:
+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
I have the same question. We do not (currently/yet?) have access
to this information.
-Alex