linkmode_to_mii_eee_cap2_t(9)
β¨ linkmode_to_mii_eee_cap2_t(9) β¨
okay so bestie, welcome to the Kernel API Manual β this page is literally about one tiny translation function, and we're gonna get into it π
π NAME π
linkmode_to_mii_eee_cap2_t -
and that's it. That's the whole name section. The description after the dash is empty, not me staring at a blank line like π. But the function name itself is exactly linkmode_to_mii_eee_cap2_t, no cap.
π SYNOPSIS π
u32 linkmode_to_mii_eee_cap2_t (unsigned long *adv );
π¦ ARGUMENTS π¦
advβ the linkmode advertisement settings. It's theunsigned long *from the synopsis, and it's giving "settings pointer, main character energy" β¨
πΈ DESCRIPTION πΈ
A function that translates linkmode to value for IEEE 802.3-2022 45.2.7.16 "EEE advertisement 2" register (7.62) π«Ά
Like, that's the whole vibe: linkmode goes in, a u32 value for that specific register comes out. Lowkey iconic. Periodt.
π₯ SEE ALSO π₯
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_sup_t(9)mii_eee_cap2_mod_linkmode_adv_t(9)linkmode_to_mii_eee_cap1_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 finally, the cute little sign-off bestie: source path is ./include/linux, dated October 2026, and the page is linkmode_to_mii_eee_cap2_t(9) π mwah.
π¦ 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