STRUCT MIIC_PHY_LINK_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual β€” yes we're doing kernel structs today and honestly? iconic of you. this one's struct miic_phy_link_cfg, and it's giving "MIIC PHY_LINK configuration" in the most literal, beautiful way possible. tiny struct, big main character energy πŸŽ€


✨ NAME ✨

struct miic_phy_link_cfg β€” the MIIC PHY_LINK configuration struct, periodt. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

three lines, no notes:

struct miic_phy_link_cfg {
    u32 mask;
    u32 val;
 };

like… look at her. two u32s and a dream 😭✨


🫢 Members 🫢

  • mask β€” the mask of phy_link bits πŸ’… it's the "which bits are we even talking about" one.
  • val β€” the value of phy_link bits ⭐ the "and here's what we're setting them to" one.

they're a duo. a package deal. iykyk πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/net/pcs/pcs-rzn1-miic.c β€” go read the source, bestie, it's right there πŸ’–
  • struct modctrl_match(9)
  • struct miic(9)
  • struct miic_of_data(9)
  • struct miic_port(9)

the whole miic friend group fr fr 🌈


lowkey reminder that these are just references, bestie β€” no cap, go actually look at them before you go changing phy_link bits, mwah 🧚

and that's the page! πŸ’œ this little gem lives over in ./drivers/net/pcs, and this edition is dated October 2026 β€” slay, see you in the next one, bye bestie! πŸ“πŸ’€πŸŒΈ

πŸ“¦ where this page comes from