STRUCT MXL862XX_PCS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the Kernel API Manual page for struct mxl862xx_pcs(9), and bestie, it's literally the struct that links SerDes interfaces to bridge ports. no cap, that's the whole job. main character energy ✨


✨ SYNOPSIS ✨

here's the whole struct, character for character β€” don't touch the punctuation, she's sensitive πŸ’…

       struct mxl862xx_pcs {
           struct phylink_pcs pcs;
           struct mxl862xx_priv *priv;
           int serdes_id;
           int slot;
           phy_interface_t interface;
        };

πŸ¦‹ Members πŸ¦‹

every member, no skipping, fr fr:

  • pcs β€” the struct phylink_pcs instance itself. that's the object, bestie 🫢
  • priv β€” a pointer to struct mxl862xx_priv. iykyk.
  • serdes_id β€” the SerDes instance index: 0 or 1, periodt.
  • slot β€” the slot within the SerDes. it's 0-3 for QSGMII/QUSXGMII, and 0 otherwise. slay that distinction 🌸
  • interface β€” the cached PHY interface, aka the last value passed to pcs_config. before the first successful pcs_config, it's PHY_INTERFACE_MODE_NA. it's used by pcs_an_restart to populate the firmware command, and by pcs_disable to skip the firmware power-down for shared (QSGMII/QUSXGMII) modes. that's important lore, don't skip it 😭

🌈 SEE ALSO 🌈

the whole friend group, all present and accounted for πŸ’œ

mwah πŸ’– this page comes from ./drivers/net/dsa/mxl862xx, dated October 2026, for struct mxl862xx_pcs(9). bye bestie, slay your SerDes interfaces πŸ’…βœ¨
πŸ“¦ where this page comes from