genphy_c45_plca_get_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… genphy_c45_plca_get_cfg(9) β€” like, the Kernel API Manual, bestie ✨

okay so welcome to the genphy_c45_plca_get_cfg page, straight out of the Kernel API Manual πŸŽ€ this is the little function that goes and gets your PLCA config, and honestly? she's giving quiet competence. no cap.


🌸 NAME 🌸

genphy_c45_plca_get_cfg β€” get the PLCA configuration from the standard registers 🫢


✨ SYNOPSIS ✨

int genphy_c45_plca_get_cfg (struct phy_device *phydev , struct
       phy_plca_cfg *plca_cfg );

like, that's the whole vibe. two args, one int coming back at you πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the target phy_device struct πŸ‘‘ this is the PHY we're being nosy about.
  • plca_cfg β€” the output structure where the PLCA configuration gets stored πŸ“ it's literally the lil basket you carry the answer home in.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, then you can use this function to retrieve the current PLCA configuration from the standard registers in MMD 31 ✨

that's it, that's the whole job. she reads the registers, she hands you the config, she slays πŸ’… no extra drama, no side quests.

⚠️ quick vibe check: this is conditional, bestie β€” the "if the PHY complies" part is doing so much work in that sentence. non-compliant PHY? don't come crying to her 😭

🌈 SEE ALSO 🌈

the whole friend group 🫢 β€” Kernel file ./drivers/net/phy/phy-c45.c plus:

like, that's a lot of siblings but every one of them is iconic in her own right πŸ’€πŸ’–


and that's the page, bestie 🧚 this lil gem lives in ./drivers/net/phy, dated October 2026, and the whole thing is filed under genphy_c45_plca_get_cfg(9) β€” mwah πŸ’‹ periodt.

πŸ“¦ where this page comes from