STRUCT MIIC_PHY_LINK_CFG(9)
π struct miic_phy_link_cfg(9)
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 ofphy_linkbits π it's the "which bits are we even talking about" one.valβ the value ofphy_linkbits β 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms