mii_t1_adv_l_mod_linkmode_t(9)
π mii_t1_adv_l_mod_linkmode_t(9) π
okay so bestie, you're in the Kernel API Manual and today's main character is mii_t1_adv_l_mod_linkmode_t β a tiny little kernel helper with a big name. don't let the length scare you, it's giving "long name, simple job" energy fr fr π
πΈ NAME πΈ
mii_t1_adv_l_mod_linkmode_t β (yeah the original page literally leaves this blank, so no cap, that's the whole thing) π«Ά
β¨ SYNOPSIS β¨
void mii_t1_adv_l_mod_linkmode_t (unsigned long *advertising , u32 lpa );
like, that's it. that's the whole signature. slay π
π¦ ARGUMENTS π¦
advertisingβ this is the target, aka where the linkmode advertisement settings live. this is the thing getting β¨modifiedβ¨lpaβ the value of theBASE-T1 Autonegotiation Advertisement [15:0] Register. yes, bits[15:0], the whole sixteen of them, she's specific π
π₯ DESCRIPTION π₯
okay so picture this: it's a small helper function, right? and all it does is translate the bits from the BASE-T1 Autonegotiation Advertisement [15:0] Register into linkmode advertisement settings. that's the vibe check and it passes βοΈ
and the important part bestie β the way that it does not touch the other bits in advertising. they aren't changed. not even a little. no cap, those bits stay exactly as you left them πβ¨
π SEE ALSO π
bestie there are SO many siblings, this function has a whole extended family, okay, family dinner is gonna be long:
- 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_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)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)
like, twenty of them. twenty!! absolutely iconic, every single one of them ate ππ
and that's the page bestie π this little cutie lives in ./include/linux and the version stamp on her is October 2026 β okay bye, love u, go convert some register bits responsibly βπ§
π¦ 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