mii_eee_cap...nkmode_sup_t(9)
π mii_eee_cap...nkmode_sup_t(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a function page, and the name lowkey got chopped in the header (mii_eee_cap...nkmode_sup_t(9)) but don't panic, it's still the same iconic little helper π
β¨ SYNOPSIS β¨
void mii_eee_cap2_mod_linkmode_sup_t (unsigned long *adv , u32 val );
π¦ ARGUMENTS π¦
advβ this is your target, the linkmode settings you're writing into. it's the destination, the main character, the one getting the glow-up πvalβ the register value. just a plainu32, sitting there, full of secrets π
πΈ DESCRIPTION πΈ
so like, what does this actually do? it's a function that translates the value of the following registers into the linkmode, bestie. and the register in question is:
- IEEE 802.3-2022 45.2.3.11 "EEE control and capability 2" register (3.21) π
that's it, that's the whole vibe. it takes the register value and translates it over to linkmode land. no cap π«Ά
π SEE ALSO π
like the whole friend group, fr fr β go check these out too:
- Kernel file
./include/linux/mdio.h struct mdio_if_info(9)mdio45_ethtool_ksettings_get(9)mmd_eee_cap_to_ethtool_sup_t(9)mmd_eee_adv_to_ethtool_adv_t(9)ethtool_adv_to_mmd_eee_adv_t(9)linkmode_adv_to_mii_10gbt_adv_t(9)mii_10gbt_stat_mod_linkmode_lpa_t(9)mii_t1_adv_l_mod_linkmode_t(9)mii_t1_adv_m_mod_linkmode_t(9)linkmode_adv_to_mii_t1_adv_l_t(9)linkmode_adv_to_mii_t1_adv_m_t(9)mii_eee_cap1_mod_linkmode_t(9)mii_eee_cap2_mod_linkmode_adv_t(9)linkmode_to_mii_eee_cap1_t(9)linkmode_to_mii_eee_cap2_t(9)mii_10base_t1_adv_mod_linkmode_t(9)linkmode_adv_to_mii_10base_t1_t(9)mii_c73_mod_linkmode(9)mdio_module_driver(9)
and that's the tea β this page lives over in ./include/linux and it's dated October 2026 β mwah, slay, periodt ππ§ββοΈ
π¦ 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